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
Installing pip for multiple Python versions does not work with symlinks #5533
Comments
FWIW, you shouldn't really be using the MacOS provided Python for development since that might cause your OS to become unstable (if you make changes to packages which break something). |
@pradyunsg I'm not using the system Python. In fact, the system python on High Sierra is 2.7.10, not 2.7.14 |
Ah. My bad. 😅 |
I can't reproduce this upgrading from 10.0.1 to 19.2.1 in a venv: repro.sh
Output
Can you confirm if you're still able to reproduce this? |
Hello! It's been some time, so I will close this issue. Please let us know if you're still having any problems. Thanks! |
Well, I did not mean to reopen this. It should be closed |
Environment
Description
At the time of installation,
pip
,pipX
, andpipX.Y
will be written to/usr/local/bin
. If there are existing symlinks, e.g.pip
is symlinked topipZ.W
, this will overwrite pip executables for different versions and obviously break things.Expected behavior
Remove the symlink and write a new file.
How to Reproduce
python get-pip.py
)cd /usr/local/bin
,rm pip
,ln -s pip2.7 pip
python3 get-pip.py
)Output
pip2.7
is now running 3.6The text was updated successfully, but these errors were encountered: