0
我已经安装virtualenvwrapper使用sudo pip install virtualenvwrapper
。然而,当我运行source bash_profile
我得到这个错误 - bash: /usr/local/share/python/virtualenvwrapper.sh
:没有这样的文件或目录virtualenvwrapper设置
这是我的.bash_profile
样子:
export PATH=/usr/local/bin:/usr/local/sbin:${PATH}
export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/share/python/virtualenvwrapper.sh
我使用的指令运行OSX山狮和Python安装这里提供https://python-guide.readthedocs.org/en/latest/starting/install/osx/