山狮开发预览版2上的virtualenv问题

2024-10-04 03:28:35 发布

您现在位置:Python中文网/ 问答频道 /正文

所以我刚更新到Mountain Lion Developer Preview2,突然间我的python开发环境就快崩溃了。在尝试创建一个新的virtualenv时,我得到了以下信息:

jcroft@MacBook-Pro:~/Development/Python/_VirtualEnvs$ virtualenv test
New python executable in test/bin/python
ERROR: The executable test/bin/python is not functioning
ERROR: It thinks sys.prefix is u'/System/Library/Frameworks/Python.framework/Versions/2.7' (should be u'/Users/jcroft/Development/Python/_VirtualEnvs/test')
ERROR: virtualenv is not compatible with this system or executable

有什么线索吗?提前谢谢!在


Tags: testdeveloperbin环境virtualenvisnoterror