为什么每当我运行virtualenvwrapper命令时,我突然看到`Usage:source deactivate`?

3ch*_*eel 19 python virtualenvwrapper anaconda

在使用virtualenvwrapper之前我从来没有看过这个消息,但现在每当我跑步时,我突然看到这个消息,mkvirtualenv <environment>或者workon <environment>:

Usage: source deactivate

removes the 'bin' directory of the environment activated with 'source
activate' from PATH. 
Run Code Online (Sandbox Code Playgroud)

我根本没有修改过virtualenvwrapper,快速谷歌搜索只会产生这个GitHub问题 - 我之前安装了IPython/Anaconda,但我不确定它是如何干扰virtualenvwrapper的.在任何情况下,我都尝试更新两个(conda update conda; conda update ipython),以及将virtualenvwrapper本身更新为v4.1.1,但我仍然看到这个错误.

我正在运行OS X 10.8.4.

kni*_*ite 17

workon,在其中定义/usr/local/bin/virtualenvwrapper.sh,调用deactivate.Anaconda的bin中存在一个同名的脚本,因此它可以被workon调用.

到目前为止,我发现的最佳解决方案是在Anaconda的bin中重命名激活和停用.如果有更好的解决方案,请发表评论,我会更新此答案.