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

--user not working with --ignore-installed #749

Closed
qwcode opened this Issue Dec 14, 2012 · 3 comments

Comments

Projects
None yet
2 participants
@qwcode
Contributor

qwcode commented Dec 14, 2012

person@person:$ sudo pip install peppercorn
Downloading/unpacking peppercorn
Running setup.py egg_info for package peppercorn
Installing collected packages: peppercorn
Running setup.py install for peppercorn
Successfully installed peppercorn
Cleaning up...
person@person:
$ pip install --user -I peppercorn
Downloading/unpacking peppercorn
Using download cache from /home/person/.pipcache/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpeppercorn%2Fpeppercorn-0.4.tar.gz
Running setup.py egg_info for package peppercorn
Installing collected packages: peppercorn
Found existing installation: peppercorn 0.4
Uninstalling peppercorn:
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/pip-1.2.1-py2.6.egg/pip/basecommand.py", line 107, in main
status = self.run(options, args)
File "/usr/local/lib/python2.6/dist-packages/pip-1.2.1-py2.6.egg/pip/commands/install.py", line 261, in run
requirement_set.install(install_options, global_options)
File "/usr/local/lib/python2.6/dist-packages/pip-1.2.1-py2.6.egg/pip/req.py", line 1162, in install
requirement.uninstall(auto_confirm=True)
File "/usr/local/lib/python2.6/dist-packages/pip-1.2.1-py2.6.egg/pip/req.py", line 495, in uninstall
paths_to_remove.remove(auto_confirm)
File "/usr/local/lib/python2.6/dist-packages/pip-1.2.1-py2.6.egg/pip/req.py", line 1492, in remove
renames(path, new_path)
File "/usr/local/lib/python2.6/dist-packages/pip-1.2.1-py2.6.egg/pip/util.py", line 273, in renames
shutil.move(old, new)
File "/usr/lib/python2.6/shutil.py", line 262, in move
rmtree(src)
File "/usr/lib/python2.6/shutil.py", line 221, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "/usr/lib/python2.6/shutil.py", line 219, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/peppercorn-0.4-py2.6.egg-info/PKG-INFO'

Storing complete log in /home/person/.pip/pip.log

@glyph

This comment has been minimized.

Show comment
Hide comment
@glyph

glyph Dec 14, 2012

It looks like #704 (which I just commented on) did not actually have the effect it purported to.

glyph commented Dec 14, 2012

It looks like #704 (which I just commented on) did not actually have the effect it purported to.

@qwcode

This comment has been minimized.

Show comment
Hide comment
@qwcode

qwcode Dec 14, 2012

Contributor

#705 did fix issues related to --user/--upgrade (see the test it added), but there are issues remaining with --ignore-installed.
#704 was not merged. it was closed in lieu of #705

Contributor

qwcode commented Dec 14, 2012

#705 did fix issues related to --user/--upgrade (see the test it added), but there are issues remaining with --ignore-installed.
#704 was not merged. it was closed in lieu of #705

@qwcode

This comment has been minimized.

Show comment
Hide comment
@qwcode

qwcode Nov 29, 2013

Contributor

closing as dupe to #991

Contributor

qwcode commented Nov 29, 2013

closing as dupe to #991

@qwcode qwcode closed this Nov 29, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment