Python Windows 10 conda 未被识别为内部或外部命令
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/44488349/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Windows 10 conda is not recognized as an internal or external command
提问by daiyue
Tried to
试着
conda install -c conda-forge requests-futures=0.9.7
conda install -c conda-forge requests-futures=0.9.7
but failed with
但失败了
conda is not recognized as an internal or external command
,
conda is not recognized as an internal or external command
,
C:\Users\user_name\Anaconda3\Scripts
has been set for Path
in environment variables
under both user
and System variables
.
C:\Users\user_name\Anaconda3\Scripts
已定于Path
在environment variables
以下两user
和System variables
。
I installed Python 3.5
as well and it is on Path
, I am using Win10 X64
.
我也安装Python 3.5
了,它打开了Path
,我正在使用Win10 X64
.
How to fix the issue?
如何解决问题?
采纳答案by whoosis
There is a similar question asked here before, check thismay be it will help you.
之前在这里问过一个类似的问题,检查这可能对你有帮助。
To make sure that conda package is installed correctly, check if conda package files , i.e conda
conda-env
conda-env-script
conda-script
conda-server
conda-server-script
etc are present in Anaconda3\Scripts folder.
为了确保 conda 包安装正确,请检查 conda 包文件,即conda
conda-env
conda-env-script
conda-script
conda-server
conda-server-script
等是否存在于 Anaconda3\Scripts 文件夹中。
回答by Michael James Kali Galarnyk
When you install anaconda on windows now, it doesn't automatically add Python or Conda to your path.
当您现在在 Windows 上安装 anaconda 时,它不会自动将 Python 或 Conda 添加到您的路径中。
If you don't know where your conda and/or python is, you type the following commands into your anaconda prompt
如果您不知道 conda 和/或 python 在哪里,请在 anaconda 提示符中键入以下命令
Next, you can add Python and Condato your path by using the setx command in your command prompt.
接下来,您可以使用命令提示符中的 setx 命令将Python 和 Conda添加到您的路径中。
Next close that command prompt and open a new one. Congrats you can now use conda and python
接下来关闭该命令提示符并打开一个新的。恭喜你现在可以使用 conda 和 python
Source: https://medium.com/@GalarnykMichael/install-python-on-windows-anaconda-c63c7c3d1444
来源:https: //medium.com/@GalarnykMichael/install-python-on-windows-anaconda-c63c7c3d1444
回答by Rahul Sawra
Just Check Both the options while installing Anaconda.
只需在安装 Anaconda 时选中这两个选项。