Why Anaconda does not recognize conda command?

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
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,483评论 0 10
  • 每一个优秀的人,都不是与生俱来带着光环的,也不一定是比别人幸运。他们只是在任何一件小事上,都对自己有所要求,不因舒...
    姜月萍阅读 132评论 0 0
  • 黑衣男子站在讲台上,问了一个问题: “你们相不相信这个世界上,有异能?” 底下的学生们纷纷...
    易碎过客阅读 391评论 0 3
  • 抛下过去 迎接新的生活 这是新的开始 加油! 你可以。
    遇见千丝阅读 136评论 0 1
  • 因父母不同意而被分手的情侣不在少数,事后,有人感谢父母让自己免受柴米油盐酱醋茶的琐碎,也有人埋怨父母让自己和爱情擦...
    孤名思义阅读 365评论 0 0