I am trying to work with the BrickPi, and to at least get started, simply run a motor. But theres a problem.


Traceback (most recent call last):
  File "", line 1, in <module>
    from BrickPi import *
  File "/usr/local/lib/python2.7/dist-packages/BrickPi-0.0.0-py2.7.egg/", line 46, in  <module>
    import ir_receiver_check
ImportError: No module named ir_receiver_check

I am using a tutorial found here:

And the code in particular

from BrickPi import *


BrickPi.SensorType[PORT_1] = TYPE_SENSOR_TOUCH
BrickPi.MotorEnable[PORT_A] = 1


while True:
        result = BrickPiUpdateValues()
        if not result:
                if BrickPi.Sensor[PORT_1]:
                        BrickPi.MotorSpeed[PORT_A] = 200
                        BrickPi.MotorSpeed[PORT_A] = 0

Whats wrong? How to fix.

Can you download and copy this library to your project folder:

This is a check for the IR sensor which can interfere with the BrickPi.


Hey RichardBrickPi,

First, great user name.

Second, can we convince you to use the Dexter Industries Image? It has some great troubleshooting software on it, and it has the modules Karan is trying to convince you to use. You can find instructions on how to burn it to an SD card here:


Hi Karan,

I have added that file but I still cannot get any GPS coordinates.

I only get a blank csv file, with the header title but no coordinates.


Hi @frozentrace,

It looks like you have posted at the wrong place and we’ll continue this discussion on the other post here.