-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 2.7 get-pip.py needs a versioned link now #376
Comments
Hello. I think I may meet some problem related to this "get-pip.py" problem. I can't create virtualenv with python 2.x. I tried both the python2.7 of system and the python2.7 installed by pyenv but both failed. Error message is like below:
I'm using ubuntu18 and installed pyenv by pyenv-installer today. And I installed pip by "sudo apt install python-pip". Did I miss something which made this problem? |
The same problem as for @Littelarch happens to me in Ubuntu 20 |
For me the problem was solved after installing |
I had the same issue as @Littelarch when trying to create a 2.7 virtual env with pyenv, and @ursetto 's proposed solution of adding the 2.7 URL as one of the cases in the |
It seems around January 2021 the unversioned
get-pip.py
became incompatible with Python 2.7.To fix this I think the 2.7 URL,
https://bootstrap.pypa.io/2.7/get-pip.py
needs to be added in the area below, just as in pyenv PR pyenv/pyenv#1793 (commit pyenv/pyenv@189afa8).pyenv-virtualenv/bin/pyenv-virtualenv
Line 482 in 294f64f
The text was updated successfully, but these errors were encountered: