프로그래밍, mac osx 및 bash에서 새로운 기능이라고 말하면서 시작하겠습니다.mac osx에 virtualenvwrapper 설치하기 10.7.3
내 Mac OS X 10.7.3에서 virtualenvwrapper 설치를하는 데 어려움을 겪고 있습니다. 가장 확실한 경로 설정 문제이지만 작동에 문제가 있습니다. .bashrc에
export WORKON_HOME=$HOME/.Apps
source /usr/local/bin/virtualenvwrapper.sh
에서 virtualenvwrapper의
설정 일부 터미널 출력 : 내가 터미널에서 "소스의 .bashrc"를 실행하면
which easy_install
/usr/bin/easy_install
python -V
Python 2.7.1
내가 더 출력을 얻을 수 없습니다. 내가 mkvirtualenv 터미널에서 실행하면
내가 얻을 :
Error [Errno 2] No such file or directory while executing command install_name_tool -change /System/Library/Fram.../Versions/2.7/Python @executable_path/../.Python 1/bin/python
Could not call install_name_tool -- you must have Apple's development tools installed
Traceback (most recent call last):
File "/usr/local/bin/virtualenv", line 9, in <module>
load_entry_point('virtualenv==1.7.1.2', 'console_scripts', 'virtualenv')()
File "/Library/Python/2.7/site-packages/virtualenv-1.7.1.2-py2.7.egg/virtualenv.py", line 928, in main
never_download=options.never_download)
File "/Library/Python/2.7/site-packages/virtualenv-1.7.1.2-py2.7.egg/virtualenv.py", line 1029, in create_environment
site_packages=site_packages, clear=clear))
File "/Library/Python/2.7/site-packages/virtualenv-1.7.1.2-py2.7.egg/virtualenv.py", line 1347, in install_python
py_executable])
File "/Library/Python/2.7/site-packages/virtualenv-1.7.1.2-py2.7.egg/virtualenv.py", line 966, in call_subprocess
cwd=cwd, env=env)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 672, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1202, in _execute_child
OSError: [Errno 2] No such file or directory
복제본 http://stackoverflow.com/questions/2355188/problem-running-virtualenv-on-mac-os-x –