简体   繁体   中英

Windows 10 conda is not recognized as an internal or external command

Tried to

conda install -c conda-forge requests-futures=0.9.7

but failed with

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 .

I installed Python 3.5 as well and it is on Path , I am using Win10 X64 .

How to fix the issue?

There is a similar question asked here before, check this may be it will help you.

To make sure that conda package is installed correctly, check if conda package files , ie conda conda-env conda-env-script conda-script conda-server conda-server-script etc are present in Anaconda3\\Scripts folder.

When you install anaconda on windows now, it doesn't automatically add Python or Conda to your path.

If you don't know where your conda and/or python is, you type the following commands into your anaconda prompt

在此输入图像描述

Next, you can add Python and Conda to your path by using the setx command in your command prompt. 在此输入图像描述

Next close that command prompt and open a new one. Congrats you can now use conda and python

Source: https://medium.com/@GalarnykMichael/install-python-on-windows-anaconda-c63c7c3d1444

I had a similar problem when using cmd.

From your Command prompt 'C:\\Users\\zkdur\\anaconda3\\Scripts

Now try

conda init --help

conda init --verbose after that restart your command prompt and conda will be working.

在 Windows 10 上安装 Anaconda 后,您可以使用开始菜单中的 Anaconda 提示来激活启用了 conda 的终端窗口。

Just Check Both the options while installing Anaconda.

( https://i.stack.imgur.com/WogNs.jpg )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM