Comment 2 for bug 1870134

Revision history for this message
Cory Johns (johnsca) wrote :

Per https://github.com/pypa/pip/issues/7620 it seems like there was an issue with the 20.0 release of pip. Focal seems to be on 20.0.2, but it seems that there's stilll an issue with it:

$ lxc launch ubuntu-daily:focal
Creating the instance
Instance name is: good-hawk
Starting good-hawk
$ lxc shell good-hawk
root@good-hawk:~# apt update
...
root@good-hawk:~# apt install python3-pip
...
root@good-hawk:~# pip3 --version
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)