[Bug 1800723] Re: Missing package python3.7-pip

garyo garyo at oberbrunner.com
Wed Oct 31 19:35:36 UTC 2018


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
Foundations Bugs, which is subscribed to python3.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1800723

Title:
  Missing package python3.7-pip

Status in python-pip package in Ubuntu:
  Incomplete
Status in python3.7 package in Ubuntu:
  Incomplete

Bug description:
  There appears to be no way to get "pip" or "python3.7 -m pip" to work
  after installing python3.7 using "apt install python3.7". I expected
  to be able to install a "python3.7-pip" package similar to the other
  "python3.7-*" packages but I couldn't find one.

  This problem appears in a clean install of 18.04 as well as 18.10.

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



More information about the foundations-bugs mailing list