What is the best way to Install Conda on MacOS (Apple/Mac)?

前端 未结 4 843
眼角桃花
眼角桃花 2020-12-11 18:38

What is the recommended approach for installing Anaconda on Mac?

I tried with brew cask install anaconda
which after a while returns anaconda

4条回答
  •  猫巷女王i
    2020-12-11 19:23

    After installation using the graphical installation, everything sits in the ~/opt directory, as mentioned in some previous answers. If this is OK for you, all you need to do to use the command line conda is add ~/opt/anaconda3/bin in your path. This can be done by adding

    export PATH="${PATH}:~/opt/anaconda3/bin"
    

    at the end of your rc file (~/.zshrc or ~/.bashrc).

提交回复
热议问题