I am following above url for steps and on executing i am getting below error:
pi@raspberrypi:~/GoPiGo/Software/Python/Examples/Basic_Robot_Control $ sudo python basic_robot.py
Traceback (most recent call last):
File “basic_robot.py”, line 39, in <module>
from gopigo import * #Has the basic functions for controlling the GoPiGo Robot
File “build/bdist.linux-armv7l/egg/gopigo.py”, line 49, in <module>
IOError: [Errno 2] No such file or directory
I am glad that you have come back to me. The steps mentioned by you has
been done earlier also by me. Just to add I am using Raspberry Pi to do the
setup of gopigo.
So you followed the steps that @cleoqc recommended. We assume you’re using a Raspberry Pi, that’s a good start. Which version of the Raspberry Pi?
If the install didn’t work, I would recommend downloading and installing Raspbian for Robots. You can find more about how to download and install it on this:
Well, I’m afraid there is not magic, only engineering.
Maybe we should double check you’re using Raspbian for robots. Can you please go to the Desktop and take a picture if you’re using VNC, or in the command line, type
Hey @rajat-ray this hasn’t had Raspbian for Robots installed on it. It looks like you have a basic install of Raspbian on it. Please see the links above for installing Raspbian for Robots!
sudo python setup.py install
11. cd ~/GoPiGo/Software/Python/Examples/Basic_Robot_Control
pi@raspberrypi:~/GoPiGo/Software/Python/Examples/Basic_Robot_Control $ sudo
python basic_robot.pyTraceback (most recent call last): File
"basic_robot.py", line 39, in <module> from gopigo import * #Has the
basic functions for controlling the GoPiGo Robot File
"build/bdist.linux-armv7l/egg/gopigo.py", line 49, in
<module>IOError: [Errno 2] No such file or directory
@rajat-ray: Can you run the install script again as sudo and paste the output here
sudo ./install.sh
From the error, it looks like one of the packages didn;t install correctly. If you still face the same problem, can you post a screenshot of the error too