在我的iMac上安装Miniconda2。
[d25gv047dhjr:~] keguoh% bash Desktop/Miniconda2-latest-MacOSX-x86_64.sh
...
Prepending PATH=/Users/keguoh/miniconda2/bin to PATH in
newly created /Users/keguoh/.bash_profile
但它不起作用。
[d25gv047dhjr:~] keguoh% conda
conda: Command not found.
[d25gv047dhjr:~] keguoh% cat .bash_profile
# added by Miniconda2 4.0.5 installer
export PATH="/Users/keguoh/miniconda2/bin:$PATH"$$
我花了3个多小时在网上搜索解决方案,但没有一个帮助。谢谢!
BTW,.bash_profile
文件如下所示:
[d25gv047dhjr:~] keguoh% cat .bash_profile
# added by Miniconda2 4.0.5 installer
export PATH="/Users/keguoh/miniconda2/bin:$PATH"
[d25gv047dhjr:~] keguoh%