我試圖在運行OS X Mavericks的Mac上安裝virtualenv
。要安裝virtualenv
,我用pip
在OS X上安裝Virtualenv
pip install virtualenv
現在,當我嘗試使用它,我得到的消息說 -bash: virtualenv: command not found
此外,重新安裝的嘗試讓我這個:
Requirement already satisfied (use --upgrade to upgrade): virtualenv in /usr/local/lib/python2.7/site-packages
Cleaning up...
我的路徑和Python路徑變量~/.bash_profile
設置爲:
export PATH = /usr/local/bin:$PATH
export PYTHONPATH=/usr/local/lib/python2.7/site-packages
@Avinash當操作員明確聲明他們在OSX上時,推薦Linux Cubans有什麼意義? – 2014-10-18 17:23:57
給出OS X,pip和virtualenv的版本細節 – avi 2014-10-18 18:05:05
並且還檢查[this](http://apple.stackexchange.com/questions/96325/cant-create-virtualenv) – avi 2014-10-18 18:06:28