我在 Mac 上安装了 Enthought Python Distribution 7.0 版,然后是 easy_installed pip,然后是 pip install virtualenv。当我尝试创建虚拟环境时,我得到:
> virtualenv test
New python executable in test/bin/python
ERROR: The executable test/bin/python is not functioning
ERROR: It thinks sys.prefix is '/Library/Frameworks/EPD64.framework/Versions/7.0' (should be '/Users/anand/test')
ERROR: virtualenv is not compatible with this system or executable`
并且 test/bin 不包含任何激活脚本。我怎样才能让 virtualenv 工作?
谢谢你的帮助!