我有多个Django项目,每个项目都有自己的虚拟环境。今天开始新的一个,当我pip install到我的virtualenv中时,我得到一个错误,它指出它已经安装,指向另一个项目的文件路径——repos/otherprojectname/env/lib/python2.7/site-packages
我正在处理的当前项目的python路径是:
/repos/currentprojectname/env/bin/python
我现在在我的虚拟现实中。我知道,因为(env)在提示之前,我只是停用并重新激活,然后删除,在文件中重新创建,然后再次激活。在
当我安装django时:
zsh: Users/me/Documents/repos/currentprojectname/env/bin/pip: No such file or directory
Requirement already satisfied (use --upgrade to upgrade): django in repos/otherprojectname/env/lib/python2.7/site-packages
有twoother的帖子,我找到了相同的问题,并尝试了从他们两个答案。在
Python路径和pip对我来说还是很神秘的,如果能修复并理解为什么我的虚拟环境似乎在一起,那就太好了。在
目前没有回答
相关问题 更多 >
编程相关推荐