美文网首页工作生活
Why Anaconda does not recognize

Why Anaconda does not recognize

作者: 夕宝爸爸 | 来源:发表于2019-07-04 09:32 被阅读0次

    Why Anaconda does not recognize conda command?

    For Windows
    Go to Control Panel\System and Security\System\Advanced System Settings then look for Environment Variables.
    
    Your user variables should contain Path=Path\to\Anaconda3\Scripts.
    
    You need to figure where your Anaconda3 folder is (i.e. the path to this folder) . Mine was in C:\Users.
    
    For Linux
    You need to add conda to PATH. To do so, type:
    
    export PATH=/path/to/anaconda3/bin:$PATH.
    
    Same thing, you need to figure the path to anaconda3 folder (Usually, the path is stored in $HOME)
    
    If you don't want to do this everytime you start a session, you can also add conda to PATH in your .bashrc file:
    
    echo 'export PATH=/path/to/anaconda3/bin:$PATH' >> ~/.bashrc
    source ~/.bashrc
    

    相关文章

      网友评论

        本文标题:Why Anaconda does not recognize

        本文链接:https://www.haomeiwen.com/subject/rlakhctx.html