Skip to content

Instantly share code, notes, and snippets.

@garybernhardt
Created May 27, 2010 22:11
Show Gist options
  • Save garybernhardt/416427 to your computer and use it in GitHub Desktop.
Save garybernhardt/416427 to your computer and use it in GitHub Desktop.
failbowl:temp $ pip install -U pip
Downloading/unpacking pip
Downloading pip-0.7.2.tar.gz (68Kb): 68Kb downloaded
Running setup.py egg_info for package pip
warning: no files found matching '*.html' under directory 'docs'
warning: no previously-included files matching '*.txt' found under directory 'docs/_build'
no previously-included directories found matching 'docs/_build/_sources'
Installing collected packages: pip
Found existing installation: pip 0.7.2
Uninstalling pip:
Exception:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/basecommand.py", line 120, in main
self.run(options, args)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/commands/install.py", line 165, in run
requirement_set.install(install_options)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/req.py", line 1239, in install
requirement.uninstall(auto_confirm=True)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/req.py", line 454, in uninstall
paths_to_remove.remove(auto_confirm)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/req.py", line 1525, in remove
renames(path, new_path)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/util.py", line 317, in renames
shutil.move(old, new)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py", line 262, in move
rmtree(src)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py", line 216, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py", line 221, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py", line 219, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied: '/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/EGG-INFO/dependency_links.txt'
Storing complete log in /Users/grb/.pip/pip.log
failbowl:temp $ sudo pip install -U pip
sudo: pip: command not found
failbowl:temp $ pip install -U pip
zsh: command not found: pip
failbowl:temp $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment