PATH Warning

Hello everyone, I am asking on what to do to fix the warning called “WARNING: The script cpuinfo is installed in ‘/home/arca/.local/bin’ which is not on PATH.”

So what happened:
I was trying to install ultralytics yolov5 for the jetson nano for the past few weeks but met with a certain roadblock that i have no answer to. So to change it up, i adjusted my installation process by putting ultralytics first before installing opencv with cuda, torch and torchvision. I have also installed python 3.9 since ultralytics cant install properly on python3.6.

Am I supposed to add "
PATH=$PATH:$HOME/.local/bin" at the requirements.txt to fix it? Whats the ideal solution here since im just a beginner in doing these installations?

Hi,

It looks like a harmless warning.
However, adding the environment variable info should fix the warning.

Thanks.

so its not gonna cause some issues later on? It did install everything on the requirement.txt. I’ll try to do some checks later after my installation process, can i still keep this forum open?

Hi,

Yes, you can.

Adding the path so you can run the binary (read the CPU info) under the arbitrary folder.
It should be the same by running it with an absolute path without modifying the $PATH.

Thanks.