Python2 pip cannot update to pip-21.0.1 sys.stderr.write(f“ERROR: {exc}”)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
New
|
Undecided
|
Unassigned |
Bug Description
Trying to build an image I have faced the following issue:
Setting up python-pip (9.0.1-
Collecting pip
Downloading pip-21.
Collecting setuptools
Downloading setuptools-
Collecting wheel
Downloading wheel-0.
Installing collected packages: wheel, setuptools, pip
Attempting uninstall: pip
Found existing installation: pip 9.0.1
Uninstalling pip-9.0.1:
Successfully uninstalled pip-9.0.1
Successfully installed pip-21.0.1 setuptools-53.0.0 wheel-0.36.2
Traceback (most recent call last):
File "/tmp/get-pip.py", line 24244, in <module>
main()
File "/tmp/get-pip.py", line 199, in main
bootstrap(
File "/tmp/get-pip.py", line 82, in bootstrap
from pip._internal.
File "/tmp/tmp6hqCIU
sys.
Python2 pip is trying to update to pip-21.0.1 and fails.