BrickPiSetupSensors() hangs[SOLVED]


After configuring my own SD card using the “Modify your own image” option and installing the python brickpi module, I am able to activate the LEDs, but for everything else I have the following error:

File “”, line 7, in <module>
File “build/bdist.linux-armv7l/egg/”, line 476, in BrickPiSetupSensors
File “build/bdist.linux-armv7l/egg/”, line 680, in BrickPiTx
File “/usr/lib/python2.7/dist-packages/serial/”, line 475, in write
n = os.write(self.fd, d)

The error happens all the time, including when I execute : sudo python I am using the 8x AA battery pack and a RaspberryPi 3 board model B.

Is there something that I am missing to make it work? Did I do something wrong?

Thanks for any help,


Any help, please…

Hey Zothicus, it sounds like serial communication isn’t working. Is there any way you can start with the Raspbian for Robots image?

Hi JohnC,

It worked, thanks!