IOError: [Errno 13] Permission denied

Hello
I have a normal Raspberry Pi model B.
Installed the sd-card from the site
Did and sudo apt-get update || sudo apt-get upgrade
and i updated the firmware with the icon on the desktop.
Now i want to test, but i get the following error

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

What is wrong? I’ve attached the motors correctly.

Power supply is 12V from a PC

Solved using sudo python basic_test_all.py

Thanks for solving this! And thanks for letting us know!!