On Sun, 26 Apr, 2020 at 16:13:28 -0600, ghe wrote: > Buster, Supermicro workstation > > I wanted to install pip (python3 is installed and working well and my > apt mirrors are up to date): > > root@sbox:~# apt install pip > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Unable to locate package pip > > I went to Synaptic to look around a bit. It installed (pip for > pythion3). I went to man pip, and was told I could enter a command > followed by --help: > > root@sbox:~# pip install --help > -bash: pip: command not found > > root@sbox:~# whereis pip > pip: /usr/bin/X11/pip > > root@sbox:~# /usr/bin/X11/pip > Traceback (most recent call last): > File "/usr/bin/X11/pip", line 9, in <module> > from pip import main > ImportError: No module named pip > > root@sbox:~# cd /usr/bin/X11/ > > root@sbox:/usr/bin/X11# ls -lh pip > -rwxr-xr-x 1 root root 292 Feb 24 16:14 pip > > root@sbox:/usr/bin/X11# ./pip > Traceback (most recent call last): > File "./pip", line 9, in <module> > from pip import main > ImportError: No module named pip > > root@sbox:/usr/bin/X11# python pip > Traceback (most recent call last): > File "pip", line 9, in <module> > from pip import main > ImportError: No module named pip > > root@sbox:/usr/bin/X11# python3 pip > Traceback (most recent call last): > File "pip", line 9, in <module> > from pip import main > ImportError: cannot import name 'main' from 'pip' > (/usr/lib/python3/dist-packages/pip/__init__.py) > > > What's it doing off everybody's $PATH? What's bent? My brain??? > > -- > Glenn English >
The package you want is python3-pip (already installed?), and the executable is /usr/bin/pip3.

