After successfully booting the RPI, attaching the hat and powering it, cloning the repo and running sudo python3 setup.py install with warnings:
/usr/local/lib/python3.9/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/local/lib/python3.9/dist-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn(
I receive the following error when trying to run picar-4wd test motor
The solution I found was to install with pip install . and then update the path to use the new picar-4wd script with export PATH=/home/pi/.local/bin:$PATH
It seems to work for testing the motors, but I'm wondering if this will be an issue later on?
Edit: I'm using RPI 4b imaged with RP Image tool full install. Additional commands that were run prior to cloning the repo are sudo apt update and sudo apt full-upgrade.
After successfully booting the RPI, attaching the hat and powering it, cloning the repo and running sudo python3 setup.py install with warnings:
/usr/local/lib/python3.9/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/local/lib/python3.9/dist-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn(
I receive the following error when trying to run
picar-4wd test motor
The solution I found was to install with
pip install .
and then update the path to use the new picar-4wd script withexport PATH=/home/pi/.local/bin:$PATH
It seems to work for testing the motors, but I'm wondering if this will be an issue later on?
Edit: I'm using RPI 4b imaged with RP Image tool full install. Additional commands that were run prior to cloning the repo are
sudo apt update
andsudo apt full-upgrade
.