我不知道为什么,但是pip只安装到全球路径,虽然我正在研究环境:
macbook$ which python
/opt/local/bin/python
macbook$ which pip
/usr/local/bin/pip
macbook$ workon ivm
(ivm)macbook$ pip install django
Requirement already satisfied (use --upgrade to upgrade): django in /Library/Python/2.7/site-packages
但是这条路径不是我的virtualenv的正确路径。我看不出来。有什么可能的解决方案?
谢谢!