1

在我的 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 个多 2 小时在网上搜索解决方案,但没有一个有帮助。谢谢!

顺便说一句,该.bash_profile文件如下所示:

    [d25gv047dhjr:~] keguoh% cat .bash_profile 

    # added by Miniconda2 4.0.5 installer
    export PATH="/Users/keguoh/miniconda2/bin:$PATH"
    [d25gv047dhjr:~] keguoh% 
4

0 回答 0