sourcebots / robot-api

(Legacy) API to interface with robotd
http://docs.sourcebots.co.uk/api/
MIT License
4 stars 1 forks source link

ImportError: No module named 'robot.camera' #2

Closed PeterJCLaw closed 7 years ago

PeterJCLaw commented 7 years ago

Having cloned the repo and created a virtualenv with the code installed in development mode (pip install -e .), I get errors when trying to import the library (import per the readme):

>>> from robot.robot import Robot
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/sourcebots/robot-api/robot.py", line 3, in <module>
    from robot.camera import Camera
ImportError: No module named 'robot.camera'; 'robot' is not a package