I’m setting up the PiCar-V and have gotten to the Servo Configuration section: Configure the Servo to 90 degrees. After rebooting, I followed the instructions to run “picar servo-install” but it’s returning with a FileNotFoundError after several lines. I don’t know what file it’s missing or how to proceed, please help?
pi@raspberrypi4Bnew:~/SunFounder_PiCar-V $ picar servo-install
Traceback (most recent call last):
File "/usr/local/bin/picar", line 33, in <module>
sys.exit(load_entry_point('SunFounder-PiCar==1.0.1', 'console_scripts', 'picar')())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/dist-packages/SunFounder_PiCar-1.0.1-py3.13.egg/picar/__init__.py", line 43, in main
setup()
~~~~~^^
File "/usr/local/lib/python3.13/dist-packages/SunFounder_PiCar-1.0.1-py3.13.egg/picar/__init__.py", line 80, in setup
pwm=PCA9685.PWM(bus_number=1)
File "/usr/local/lib/python3.13/dist-packages/SunFounder_PiCar-1.0.1-py3.13.egg/picar/SunFounder_PCA9685/PCA9685.py", line 47, in __init__
self.bus = smbus.SMBus(self.bus_number)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory
Thank you for your patient.Unfortunately, the PiCar-V product has been discontinued for several years. As a result, its software is no longer maintained or updated, and it is not compatible with newer versions of the Raspberry Pi operating system.We sincerely apologize for the inconvenience.
Got it. That sounds like it could still work with an older Raspberry Pi operating system. What was the last operating system version of Raspberry Pi it was compatible with? I have a Raspberry Pi 4B and can find older software to install on it. Thank you.
Same deal with support for my Picar-V2.0, so the servos and drive motors are the same as Picar-X, so I bought a Fusion Hat+ for small money at the SunFounder webstore and I will be giving it a whirl after I get my Picar-X squared away. Actually the worst of it has been running/building/debuggin under VSC w/ MS Python Extensions, but that’s another story. Soooo Fingers crossed!!!
@klh2632: Are you using the Robot HAT or the Fusion HAT+? The Fusion HAT+ does not yet have software compatible with PiCar‑X. You would need a Robot HAT V4 for that.
@orca: You could try looking for the Bullseye 2023-12-05 version.