-
Notifications
You must be signed in to change notification settings - Fork 3k
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
On fresh fedora 34, get-pip.py fails with "No such file or directory: '/usr/lib/python3.9/site-packages/pip-21.0.1.dist-info/RECORD'" #9904
Comments
Don’t use get-pip.py against your system Python, it’s going to break a lot of stuff and you will regret it. |
That's... a surprising response. We've been using this approach for years, in fact this is how I thought you were supposed to use get-pip! I guess nowadays ensure-pip is the correct approach... |
@alex the system python should use the system pip package |
Yes, if you’re using Python from yum, you should use the python-pip package from the system package manager (or whatever it’s called for the version you want). If you explicitly want a different pip version that’s not provided by the distro package manager, use a virtual environments instead (in which you can |
As far as the error goes, this should be improved via #9949 |
Which is included in 21.2+ released recently. |
But not yet in https://bootstrap.pypa.io/get-pip.py |
Oh! Right, I forgot about that. I was having trouble updating the scripts on Windows (pypa/get-pip#121) and need to fix it before generating an update (or set up another developement machine). I hope to get to that this weekend, after I cut 21.2.3. |
Description
Attempting to install pip with
get-pip
fails:Expected behavior
pip is installed correctly
pip version
latest get-pip.py
Python version
3.9.4
OS
Fedora 34
How to Reproduce
Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: