安装virtualenvwrapper

时间:2012-08-30 15:12:25

标签: virtualenv virtualenvwrapper

我正在尝试安装virtualenvwrapper并面临一些问题..

错误:

error: /Library/Python/2.7/site-packages/virtualenvwrapper: Permission denied
Command /usr/bin/python -c "import setuptools;__file__='/Users/build/virtualenvwrapper/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /var/folders/x6/1rbbd59j1w7dx74lrrs181vh0000gn/T/pip-HQwbCQ-record/install-record.txt failed with error code 1 in /Users/build/virtualenvwrapper

如何解决此错误?

1 个答案:

答案 0 :(得分:2)

您是否尝试过使用sudo命令来运行命令?

http://www.gratisoft.us/sudo/man/1.8.5/sudo.man.html