Skip to content
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 virtualenv #2008

Closed
idingwu opened this issue Jun 22, 2012 · 1 comment
Closed

pip install virtualenv #2008

idingwu opened this issue Jun 22, 2012 · 1 comment
Milestone

Comments

@idingwu
Copy link

idingwu commented Jun 22, 2012

I tried to run
pip install virtualenv

in the directory
/System/Library/Frameworks/Python.framework/Versions

and get below error

Downloading/unpacking virtualenv
Exception:
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 104, in main
status = self.run(options, args)
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/commands/install.py", line 245, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 971, in prepare_files
location = req_to_install.build_location(self.build_dir, not self.is_download)
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 153, in build_location
_make_build_dir(build_dir)
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1225, in _make_build_dir
os.makedirs(build_dir)
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/System/Library/Frameworks/Python.framework/Versions/build'

however, in /System/Library/Frameworks/Python.framework/Versions
there is no "build"

please advise where goes wrong?

@takluyver
Copy link
Member

N.B. This is the IPython bug tracker - it doesn't look like IPython is involved in your problem at all.

Try sudo pip install virtualenv.

@minrk minrk added this to the no action milestone Mar 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants