How do I add the Anaconda path to the PATH environment on a Mac?

Viewed 67

I have a macbook and I can't find any solutions to add the Anaconda path to the PATH environemnt online on my laptop. On Windows, you execute the installer file and this screen should show up. enter image description here

Then, I have to click the Anaconda distribution folder when I click on "choose from list" button on Eclipse but I don't have that option displayed. Supposed to look like pt. 12

What my screen looks like

1 Answers

On mac/linux, you need to add env path by yourself.

Find your anaconda installed path and add commands in .zshrc or .bashrc

export PATH=~/anaconda3/bin:$PATH
export PATH="/anaconda3/bin:$PATH"

Then, execute command source ~/.zshrc if you are using zsh. Or, execute command source ~/.bashrc by default.

Related