Cant control sphero rvr with wasd

pi@raspberrypi:~ $  cd /home/pi/sphero-sdk-raspberrypi-python-master/projects/keyboard_control
pi@raspberrypi:~/sphero-sdk-raspberrypi-python-master/projects/keyboard_control $ python3
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/serial/", line 265, in open
    self.fd =, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyS0'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "", line 22, in <module>
  File "/home/pi/.local/lib/python3.7/site-packages/sphero_sdk/asyncio/client/dal/", line 24, in __init__
  File "/home/pi/.local/lib/python3.7/site-packages/sphero_sdk/asyncio/server/port/", line 31, in __init__
    ser = serial.Serial(dev, baud)
  File "/usr/lib/python3/dist-packages/serial/", line 240, in __init__
  File "/usr/lib/python3/dist-packages/serial/", line 268, in open
    raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyS0: [Errno 2] No such file or directory: '/dev/ttyS0'
pi@raspberrypi:~/sphero-sdk-raspberrypi-python-master/projects/keyboard_control $

tried to run drive_with_wasd_keys on my raspberry pi, got everything hooked up, and got this message through ssh please help

Hi @FirkwithaD,

This looks like a Raspberry Pi UART setup issue, since the error is showing that the default serial port device cannot be found. Have you gone through our getting started guide on the SDK site? You can find it here.

If you want to spot-check a couple things before starting/restarting the guide from the beginning, it would be good to make sure that the serial port is enabled and the serial console is disabled, as shown here.

I hope this gets you up and running!

(Edited to fix the second link)