Cannot Install Python Package use pip3 Jetson Nano

I want to install jtop on my jetson nano. To install it I use pip3 according to the instructions. But when finished downloading the package an error like this appears

Command “python setup.py egg_info” failed with error code 1

I just installed jetpack on my jetson and haven’t made any changes. The same thing happened when I installed another python package. Why does this happen?

Can anyone help me?

Thank You

Hi,

Could you share the full output log with us first?
Thanks.

Hi,

Thanks for the response. These are all my output logs in terminal.

bf1@bf1-desktop:~$ sudo pip3 install -U jetson-stats
The directory ‘/home/bf1/.cache/pip/http’ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
The directory ‘/home/bf1/.cache/pip’ or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
Collecting jetson-stats
Downloading https://files.pythonhosted.org/packages/84/af/4622fde4d0cb6f43fdf58b5f45d4714c73d27c510618f5e31096b45ae2fc/jetson-stats-4.2.0.tar.gz (115kB)
100% |████████████████████████████████| 122kB 650kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File “”, line 1, in
ModuleNotFoundError: No module named ‘setuptools’

----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-z1eun5f4/jetson-stats/

Hi @habibsulaiman816

Try to install setuptools and after install jetson-stats

sudo apt-get install python3-setuptools

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.