Unable to install pip

Currently have a Jetson Orin Nano with Jetpack 5.1.2. Wanted to install jetson-stats but apparently I don’t have pip installed. Trying to install pip results in the following:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python3-pip : Depends: python3-setuptools but it is not going to be installed
               Recommends: python3-dev (>= 3.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I then tried to install python3-setuptools to no avail:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python3-setuptools : Depends: python3-pkg-resources (= 45.2.0-1) but 45.2.0-1ubuntu0.1 is to be installed
E: Unable to correct problems, you have held broken packages.

How can I install pip on my device? I do have python installed as python3 --version returns Python 3.8.10.

Hi,

We can install pip3 without issues:

$ sudo apt install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-pip is already the newest version (20.0.2-5ubuntu1.10)

Thanks.

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