Command “jupyter notebook” doesn’t work in my Mac terminal, returned error message “zsh: command not found: jupyter”. After some Google searches, here is the solution and it’s so simple:
- Find your Anaconda path, mine is:
/Users/myusername/opt/anaconda3/bin
2. In the above folder, you can find a Unix executable file named conda, then just run:
./conda init zsh
3. Reboot the terminal, and it will work.
**Note: In step 2, some answers suggest to run “conda init zsh”, but for me it returned “zsh: command not found: conda”.