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
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 runsudo pip install tornado
along withsudo 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 errorupon executing the python script.