rbonghi / jetson_stats

📊 Simple package for monitoring and control your NVIDIA Jetson [Orin, Xavier, Nano, TX] series
https://rnext.it/jetson_stats
GNU Affero General Public License v3.0
2.17k stars 264 forks source link

pip command not found #171

Closed stephanecharette closed 2 years ago

stephanecharette commented 3 years ago

Describe the bug Tried to install exactly as described in the readme:

agx ~/s/M/r/build> sudo -H pip install -U jetson-stats
sudo: pip: command not found

Expected behavior Jetson-stats is installed and available.

Additional context

Board

agx ~/s/M/r/build> cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"
agx ~/s/M/r/build> cat /proc/device-tree/compatible 
nvidia,galennvidia,jetson-xaviernvidia,p2822-0000+p2888-0001nvidia,tegra194
agx ~/s/M/r/build> cat /proc/device-tree/model 
Jetson-AGX

Jetpack

stephanecharette commented 3 years ago

May want to update the readme. I think I figured it out:

sudo apt-get install python3-pip
sudo -H pip3 install -U jetson-stats
rbonghi commented 3 years ago

Hi @stephanecharette ,

you need to install pip:

sudo apt install python-pip
sudo -H pip install -U jetson-stats

or python3 pip

sudo apt install python3-pip
sudo -H pip3 install -U jetson-stats
stephanecharette commented 3 years ago

This should be in the readme. Just installed a new Jetson device again tonight, and had to dig out this issue again since by default pip and pip3 are not installed on the Jetson images.