I recently updated my MacOS to Catalina, and now I have the infamous "zsh command not found: conda" when I enter "conda" in my terminal. I've read a number of solutions, and the easiest for me to try was to reinstall Anaconda in my home directory (specifically, the 2019.10 version of the installer installs in Users/myname/opt/anaconda3), as suggested by the folks at Anaconda here.
Well, I did just that and it did not solve the problem. What am I missing?
From the Anaconda install docs:
In order to initialize after the installation process is done, first run
source <path to conda>/bin/activate
and then runconda init
.
However,
If you are on macOS Catalina, the new default shell is zsh. You will instead need to run
source <path to conda>/bin/activate
followed byconda init zsh
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With