DexterInd / GoPiGo

The GoPiGo Robot for Raspberry Pi
338 stars 190 forks source link

Browser_Streaming_Robot web server in Examples folder requires installing sockjs.tornado and tornado #296

Closed jawardell closed 6 years ago

jawardell commented 6 years ago

I was attempting to run the robot_web_server.py script, but I ran into dependency issues. I wanted to start the web server to stream video from the GoPiGo bot but when I executed /home/pi/Desktop/GoPiGo/Software/Python/Examples/Browser_Streaming_Robot/robot_web_server.py as root, there were unfulfilled dependencies. I had to run sudo pip install tornado along with sudo apt-get install sockjs.tornado. This satisfies the dependency, but this should already be set up since this is in the Examples folder. Following along with the README instructions will cause the user to run into this error

Traceback (most recent call last):
  File "./robot_web_server.py", line 86, in <module>
    import sockjs.tornado
ImportError: No module named sockjs.tornado

upon executing the python script.