問題描述
我在我的 Windows 7 Professional 機(jī)器上安裝了 Anaconda3 4.4.0(32 位),并在 Jupyter 筆記本上導(dǎo)入了 NumPy 和 Pandas,所以我假設(shè) Python 安裝正確.但是當(dāng)我在命令提示符下鍵入 conda list
和 conda --version
時(shí),它說 conda is not Recognized as internal or external command.
I installed Anaconda3 4.4.0 (32 bit) on my Windows 7 Professional machine and imported NumPy and Pandas on Jupyter notebook so I assume Python was installed correctly. But when I type conda list
and conda --version
in command prompt, it says conda is not recognized as internal or external command.
我已經(jīng)為 Anaconda3 設(shè)置了環(huán)境變量;變量名:路徑
,變量值:C:Usersdipanwita.neogyAnaconda3
I have set environment variable for Anaconda3; Variable Name: Path
, Variable Value: C:Usersdipanwita.neogyAnaconda3
如何讓它發(fā)揮作用?
推薦答案
雖然其他人為您提供了一個(gè)很好的解決方案,但我認(rèn)為指出真正發(fā)生的事情是有幫助的.根據(jù) Anaconda 4.4 更新日志,https://docs.anaconda.com/anaconda/reference/release-notes/#what-s-new-in-anaconda-4-4:
Although you were offered a good solution by others I think it is helpful to point out what is really happening. As per the Anaconda 4.4 changelog, https://docs.anaconda.com/anaconda/reference/release-notes/#what-s-new-in-anaconda-4-4:
在 Windows 上,PATH 環(huán)境變量默認(rèn)不再更改,因?yàn)檫@可能會導(dǎo)致其他軟件出現(xiàn)問題.當(dāng)您希望使用 Anaconda 軟件時(shí),推薦的方法是使用 Anaconda Navigator 或 Anaconda 命令提示符(位于Anaconda"下的開始菜單中).
On Windows, the PATH environment variable is no longer changed by default, as this can cause trouble with other software. The recommended approach is to instead use Anaconda Navigator or the Anaconda Command Prompt (located in the Start Menu under "Anaconda") when you wish to use Anaconda software.
(注意:最近的Win 10不假設(shè)你有安裝或更新的權(quán)限.如果命令失敗,右鍵單擊Anaconda命令提示符,選擇更多",選擇以管理員身份運(yùn)行")
(Note: recent Win 10 does not assume you have privileges to install or update. If the command fails, right-click on the Anaconda Command Prompt, choose "More", chose "Run as administrator")
這是對以前安裝的更改.建議使用 Navigator 或 Anaconda Prompt,盡管您也可以隨時(shí)將其添加到 PATH 中.在安裝過程中,將 Anaconda 添加到 PATH 的框現(xiàn)在未選中,但您可以選擇它.
This is a change from previous installations. It is suggested to use Navigator or the Anaconda Prompt although you can always add it to your PATH as well. During the install the box to add Anaconda to the PATH is now unchecked but you can select it.
這篇關(guān)于'Conda' 未被識別為內(nèi)部或外部命令的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!