Using my GoPiGo for the first time


#1

This is the result :
Last login: Sat Nov 1 12:01:59 on ttys000
imac:~ jneelen$ bash
bash-3.2$ ssh pi@raspberrypi.local
ssh: Could not resolve hostname raspberrypi.local: nodename nor servname provided, or not known
bash-3.2$ ssh pi@raspberrypi.local
ssh: Could not resolve hostname raspberrypi.local: nodename nor servname provided, or not known
bash-3.2$ ssh pi@raspberrypi.local
ssh: Could not resolve hostname raspberrypi.local: nodename nor servname provided, or not known
bash-3.2$ ssh pi@raspberrypi.local
^[[A
pi@raspberrypi.local’s password:
Linux raspberrypi 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Nov 1 11:43:23 2014 from imac.lan
pi@raspberrypi ~ cd Desktop/GoPiGo pi@raspberrypi ~/Desktop/GoPiGo cd Software/Python
pi@raspberrypi ~/Desktop/GoPiGo/Software/Python $ python basic_test_all.py
Traceback (most recent call last):
File “basic_test_all.py”, line 1, in <module>
from gopigo import *
File “/home/pi/Desktop/GoPiGo/Software/Python/gopigo.py”, line 30, in <module>
bus = smbus.SMBus(1)
IOError: [Errno 13] Permission denied


#2

solved by sudo python basic_test_all.py

thanks


#3

Glad to hear this worked out!