Virtualenv in Mac OSX -bash: command not found issue

家住魔仙堡 提交于 2019-12-12 03:29:33

问题


I'm having a really hard time trying to use virtualenv on Mac OSX Mountain Lion.

I installed XCode, python2.7 with Homebrew and virtualenv + virtualenvwrapper using sudo PIP.

I've added usr/local/share/python to my $PATH and also followed the advice given on this site:

http://hackercodex.com/guide/python-virtualenv-on-mac-osx-mountain-lion-10.8/

and edited my ~/bashrc accordingly.

But when I run virtualenv ENV I get:

-bash: virtualenv: command not found

I've been through steps outlined in a lot of similar questions on SO but none of them have worked so far. I'd be massively grateful for some help and advice.

来源:https://stackoverflow.com/questions/16168754/virtualenv-in-mac-osx-bash-command-not-found-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!