尝试运行virtualenv . --no-site-packages时收到以下消息
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/
and your PYTHONPATH environment variable currently contains:
''但是,当我回显我的PYTHONPATH时,我看到了默认设置的路径:
/usr/local/python-3.3.1/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/:/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/所以我的PYTHONPATH确实包含了我要安装到的目录。
有人知道这是怎么回事吗?
发布于 2013-06-25 06:02:17
结果是我需要使用virtualenv-3.3,而不是virtualenv。
https://stackoverflow.com/questions/17285487
复制相似问题