Zsh: Conda/Pip installs command not found

后端 未结 21 1871
忘掉有多难
忘掉有多难 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 05:56

    Simply copy your Anaconda bin directory and paste it at the bottom of ~/.zshrc.

    For me the path is /home/theorangeguy/miniconda3/bin, so I ran:

    echo ". /home/theorangeguy/miniconda3/bin" >> ~/.zshrc
    

    This edited the ~/.zshrc. Now do:

    source ~/.zshrc
    

    It worked like a charm.

提交回复
热议问题