That (python3-pip) does install pip3, but it also installs all of
python3.6. Also, the pip3 it installs is by default set up for python3.6
(/usr/bin/python3), sadly.

On a clean machine:
# apt install python3.7 python3-pip
# pip3 --version
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)
# 

However: it turns out that package _does_ install the pip module in
/usr/lib/python3/dist-packages/pip, and python3.7 is configured to look
there for packages, so editing /usr/bin/pip3 to point to
/usr/bin/python3.7 does cause pip3 to work with python3.7.

So it's almost there, except (1) it requires editing the script and (2)
it installs all of python3.6 needlessly.

(BTW, it seems neither python3.7 nor python3 sets up /etc/alternatives
for providing python or python3. That may be by design, I don't know.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1800723

Title:
  Missing package python3.7-pip

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1800723/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to