I installed Anaconda and can run Python, so I assume that I installed it correctly. Following this introductory documentation, I am trying to install Python v3.3, so I am co
System: macOS
I installed Anaconda first, and everything worked well. Then I installed iTerm2 and when I typed Python
iTerm2 gave me the default Python. Here is how to find your Anaconda Python back:
Open your .zshrc
file. For example, vim ~/.zshrc
Then add export PATH="/Users/yourusername/anaconda2/bin:$PATH"
to the last line of the file. Note that you need to replace the yourusername
to your user name and make sure you have anaconda2. An easy way is to copy this line from ~/.bash_profile
Save the file, close it, relaunch the terminal and now Anaconda Python should be back.