Zsh: Conda/Pip installs command not found

后端 未结 21 1879
忘掉有多难
忘掉有多难 2020-12-02 05:27

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         


        
21条回答
  •  一生所求
    2020-12-02 06:06

    If you are on macOS Catalina, the new default shell is zsh. You will need to run source /bin/activate followed by conda init zsh. For example: I installed anaconda python 3.7 Version, type echo $USER to find username

    source /Users/my_username/opt/anaconda3/bin/activate
    

    Follow by

    conda init zsh
    

    or (for bash shell)

    conda init
    

    Check working:

    conda list
    

    The error will be fixed.

提交回复
热议问题