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
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi閱讀 7,858評(píng)論 0 10
  • 每一個(gè)優(yōu)秀的人,都不是與生俱來(lái)帶著光環(huán)的,也不一定是比別人幸運(yùn)。他們只是在任何一件小事上,都對(duì)自己有所要求,不因舒...
    姜月萍閱讀 154評(píng)論 0 0
  • 黑衣男子站在講臺(tái)上,問(wèn)了一個(gè)問(wèn)題: “你們相不相信這個(gè)世界上,有異能?” 底下的學(xué)生們紛紛...
    易碎過(guò)客閱讀 442評(píng)論 0 3
  • 拋下過(guò)去 迎接新的生活 這是新的開(kāi)始 加油! 你可以。
    遇見(jiàn)千絲閱讀 143評(píng)論 0 1
  • 因父母不同意而被分手的情侶不在少數(shù),事后,有人感謝父母讓自己免受柴米油鹽醬醋茶的瑣碎,也有人埋怨父母讓自己和愛(ài)情擦...
    孤名思義閱讀 427評(píng)論 0 0

友情鏈接更多精彩內(nèi)容