似乎我自己是几乎所有“简单”安装过程的例外。由于某些原因,它是与路径相关的问题:
我跑了
brew info python,它输出了很多信息。在底部,我发现了这一点:
Executable python scripts will be put in:/usr/local/share/pythonso you may want to put "/usr/local/share/python" in your PATH, too.
我在
/etc/launchd.confand
~/.bashrc和lo中将其添加到PATH中,发现:
$ which virtualenv
告诉我:
"/usr/local/share/python/virtualenv"
我仍然不知道为什么在网上,任何地方都找不到正确方向的指针?是
pip installvirtualenv应该添加到的路径呢?如果是这样,为什么不在我的系统上呢?为什么@bibhas明确告诉我这不是路径问题?



