So I installed Anaconda and everything is working. After I installed it I decided to switch to oh-my-zsh
. I am now getting:
zsh
I simply added the anaconda3 path to $PATH in .zshrc which did the trick for.
My environment : Catalina / clean Anaconda install / iTerm / zsh / oh-my-zsh
First locate your conda installation:
> find ~/ -name 'conda' -print
(on my system: ~/opt/anaconda3/bin/conda)
Then add that path to PATH in the .zshrc file
export PATH="opt/anaconda3/bin":$PATH
FYI for anyone having this same issue keep in mind that you need to make sure that you have the right version of anaconda in that export path:
anaconda2 or anaconda3
Spent way too long on that minor issue.
If this problem occurs on a mac, then type the following commands:
source <path to conda>/bin/activate
conda init zsh
This will modify your zshrc accordingly (or create it if it does not exist).
This solution comes from the official anaconda doc.