我正在尝试在 OSX 10.8 上运行 virtualenv,但出现以下错误
aidan$ virtualenv --distribute bbhq
New python executable in bbhq/bin/python
Usage: install_name_tool [-change old new] ... [-rpath old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Traceback (most recent call last):
File "/usr/local/bin/virtualenv", line 8, in <module>
load_entry_point('virtualenv==1.7', 'console_scripts', 'virtualenv')()
File "/Library/Python/2.7/site-packages/virtualenv-1.7-py2.7.egg/virtualenv.py", line 928, in main
never_download=options.never_download)
File "/Library/Python/2.7/site-packages/virtualenv-1.7-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-py2.7.egg/virtualenv.py", line 1321, in install_python
install_name_tool = get_install_name_tool()
File "/Library/Python/2.7/site-packages/virtualenv-1.7-py2.7.egg/virtualenv.py", line 1559, in get_install_name_tool
raise ValueError("your version of OSX wasn't planned for. "
ValueError: your version of OSX wasn't planned for. File a bug against: https://github.com/pypa/virtualenv/issues/168
我正在努力弄清楚这里发生了什么。我已经安装了 Xcode(连同命令行工具),我可以在/usr/bin/install_name_tool
. 我使用 easy_install 安装了虚拟环境(这似乎很好)。
virtualenv 正在创建目录和一些文件。但它没有正常工作 - 那里没有激活脚本。
有什么想法吗?(看起来很像 virtualenv 在 osx 10.8 上根本不起作用)。