Skip to content

Errro with picar-4wd test motor #12

@RahulSinghalChicago

Description

@RahulSinghalChicago

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

Screenshot 2023-01-02 at 11 05 41 PM

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions