当我启动终端应用程序或iTerm2时,会收到以下消息:
CommandNotFoundError: 'activate is not a conda command.
Did you mean 'source activate'?
我还有以下几点
.bash
adamg:~ adamg$ ls -a .bash*
.bash_aliases
.bash_history
.bash_profile
.bash_profile-anaconda.bak
.bash_profile-miniconda2.bak
.bash_profile.macports-saved_2014-02-12_at_19:11:16
.bash_profile.pysave
.bashrc
这些文件的内容是否导致了问题?
:
运行后
grep -rn '.' -e 'conda.sh'
adamg:~ adamg$ grep -rn '.' -e 'conda.sh'
./anaconda/bin/compile_et:5:DIR=/Users/adamg/anaconda/share/et
./anaconda/python.app/Contents/lib/python2.7/site-packages/binstar_client/commands/show.py:6: anaconda show continuumio
./anaconda/python.app/Contents/lib/python2.7/site-packages/binstar_client/commands/show.py:7: anaconda show continuumio/python
./anaconda/python.app/Contents/lib/python2.7/site-packages/binstar_client/commands/show.py:8: anaconda show continuumio/python/2.7.5
./anaconda/python.app/Contents/lib/python2.7/site-packages/binstar_client/commands/show.py:9: anaconda show sean/meta/1.2.0/meta.tar.gz
Binary file ./anaconda/python.app/Contents/lib/python2.7/site-packages/binstar_client/commands/search.pyc matches
./anaconda/python.app/Contents/lib/python2.7/site-packages/binstar_client/commands/remove.py:55: