-
Notifications
You must be signed in to change notification settings - Fork 306
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 Broken #82
Comments
pip 21.0 removes python2.7 support |
Please use https://bootstrap.pypa.io/2.7/get-pip.py. |
Thanks :) |
@pradyunsg did you consider enabling discussions on this repo? This could be useful in the Q&A format. |
@pradyunsg Will subdirectory |
Just had this issue on an up-to-date Kali Linux installation with Python 2.7.18- the url @pradyunsg specified worked for me. |
@taro-spb there are no plans at this time to remove that script. |
As python 2.7 is used in all ubuntu images, we need to get matching pip version (pypa/get-pip#82)
As python 2.7 is used in all ubuntu images, we need to get matching pip version (pypa/get-pip#82)
As python 2.7 is used in all ubuntu images, we need to get matching pip version (pypa/get-pip#82)
As python 2.7 is used in all ubuntu images, we need to get matching pip version (pypa/get-pip#82)
@pradyunsg @webknjaz Apologies in advance if you'd really prefer to not have continuation of discussion on closed Issues (I'm happy to open a new one instead), but I noticed today that the $ docker run --rm -ti python:2.7 /bin/bash
root@1a9208fd00d3:/# curl -sLO https://bootstrap.pypa.io/2.7/virtualenv.pyz
root@1a9208fd00d3:/# cat virtualenv.pyz
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
root@1a9208fd00d3:/# curl -sLO https://bootstrap.pypa.io/2.7/get-pip.py
root@1a9208fd00d3:/# cat get-pip.py
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
root@1a9208fd00d3:/# ...though I guess just looking at the index of https://bootstrap.pypa.io/ would have told me this as well. I didn't see a PR that linked back to this Issue, so is there a thread that I can follow to direct other people to on the removal? I assume the advice now is to stop using Python 2 and if you can't yet try to find a workaround to manually bootstrap a virtual environment? (To be clear, for 2 years past EOL that's very reasonable and appropriate in my mind. 👍) Apologies as well for bringing up a Python 2 issue. I'm not actively trying to still use it 🙁, but my physics collaboration has some of our LTS software stack locked to it. |
Those got moved to the pip directory, as part of a backwards-incompatible reorganisation: #61 |
b44c524 was the commit that provided a helpful message to users when this was migrated. That was reverted after a grace period. |
Excellent. Thanks very much for this helpful information and for taking the time to reply so quickly! |
Latest commit broke python 2.7 compatibility over string formatting :(
The text was updated successfully, but these errors were encountered: