Serial IO access to Sphero RVR using Raspbian
by Twizbos1 from LinuxQuestions.org on (#4VYJT)
Following error when running a python script.
File "/home/pi/.local/share/virtualenvs/sphero-sdk-raspberrypi-python-M5SuJw2V/lib/python3.7/site-packages/serial/serialposix.py", 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'
Seems we cannot locate a useful serial port on the devices GPIO.
(Raspberry PI Version 2, model B)
Awaiting the arrival of a new sparkly Pi 4


File "/home/pi/.local/share/virtualenvs/sphero-sdk-raspberrypi-python-M5SuJw2V/lib/python3.7/site-packages/serial/serialposix.py", 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'
Seems we cannot locate a useful serial port on the devices GPIO.
(Raspberry PI Version 2, model B)
Awaiting the arrival of a new sparkly Pi 4