sunfounder / SunFounder_PiCar-V

Smart Video Car Kit V2.0 for Raspberry Pi from SunFounder
GNU General Public License v2.0
111 stars 175 forks source link

PiCar-S - picar command promtin error #46

Open chanakamendis opened 4 years ago

chanakamendis commented 4 years ago

I was following the standard user manual. when I try picar command I get following error.

pi@snartcar:~ $ picar Traceback (most recent call last): File "/usr/local/bin/picar", line 8, in load_entry_point('SunFounder-PiCar==1.0.1', 'console_scripts', 'picar')() File "/usr/local/lib/python2.7/dist-packages/SunFounder_PiCar-1.0.1-py2.7.egg/picar/init.py", line 43, in main setup() File "/usr/local/lib/python2.7/dist-packages/SunFounder_PiCar-1.0.1-py2.7.egg/picar/init.py", line 80, in setup pwm=PCA9685.PWM(bus_number=1) File "/usr/local/lib/python2.7/dist-packages/SunFounder_PiCar-1.0.1-py2.7.egg/picar/SunFounder_PCA9685/PCA9685.py", line 47, in init self.bus = smbus.SMBus(self.bus_number) IOError: [Errno 2] No such file or directory