-
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 --target wants to remove /usr/bin/easy_install #1636
Comments
Also, |
Looks like this is related to #1489. |
The functional issue with this is that pyramid formally requires So in order to install pyramid, pip needs a working version of setuptools, which needs to replace distribute. distribute being installed as root means it can't be replaced by a user-run pip. An effective work around then would be to |
That doesn't make sense.
Also, I don't have root. Even if I did, I'd really rather not solve all permissions problems by throwing root at them — in this case, I'd then have to deal with a root-owned vendor directory. |
Is this a duplicate of #1851? |
@eevee no, you have distribute. IMHO the biggest problem is that 0.6.10 is heavily outdated. |
Indeed, it looks like an issue in the old workaround for distribute/setuptools. |
Will a fix be backported to 6.x? |
The fix was to delete a whole bunch of backwards-compatibility code, so I doubt it. |
pip 1.5.4 from ~/.local/lib/python2.6/site-packages (python 2.6)
I don't know what it is between me and pip, but it really wants to remove
easy_install
. I'm starting to get suspicious. ;)I tried to vendor Pyramid into a larger project with
pip install pyramid --target vendor/
and got the following:I'm pretty sure
--target
should never uninstall anything ever, let alone a system package. I would've been very sad if I'd been root.Incidentally, given how many ways I find to trip over this, perhaps pip should handle inability to delete files a little more gracefully.
The text was updated successfully, but these errors were encountered: