-
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
pip install -U from github or bitbucket fails on alternate attempts on Mac OS X #3011
Comments
P.S. the pip version was 7.1.0 before it deleted itself =) |
I just tracked the issue.
Now, if you install a package that uses setuptools, with console entry points, when you want to uninstall it, it attempts to remove the executable twice, like this:
As it turns out, it's because bin_dir contains the symlink, but the files gotten from installed-files.txt do not contain the symlink. See pip/req/req_install.py line 620. |
Btw, this bug was introduced sometimes after pip 6.1. |
This is likely due to #2552. |
I'm not comfortable with your solution of mathieulongtin@4dd0ab2 and I'm more in favor of something like #3142 |
You likely have a much better idea of how to fix it. I will be happy that I don't have to run updates twice anymore, regardless of the fix. |
fixed in PR #3154 |
Works around an issue when installing analytics-tasks on jenkins server, similar to pypa/pip#3011 Issue occurs because jenkins home is a symlink, and so the virtualenv used to install analytics-tasks is also a symlink, and alternate make installs fail to uninstall pyinstrument
I'm running a python 3.4.3 virtual environment on Mac OS X 10.10.1 under pyenv. I first noticed that invoking pip3 install on a bitbucket repo was giving me errors every other invocation, e.g.
Interestingly, I get the same error when I upgrade from the pip repo itself!
And now I have no more pip in my virtual environment...
The text was updated successfully, but these errors were encountered: