+2 votes
in General IT Tips by (20.3k points)

I installed Anaconda Python 3 on my Windows 10 machine, but when I try to install any Python library using 'conda install' on the terminal, it gives the error:  'Conda' is not recognized as internal or external command.

How to fix this error?

1 Answer

0 votes
by (48.7k points)

You need to update the environment variable to fix the error. To update the environment variable, follow these steps:

1. Go to the 'Control panel', Click on 'System and Security' and then on 'System'.

2. On the left panel, you will find 'Advanced system settings'. Click on that and it will open a popup window.

3. On the popup window, click on 'Environment variables'. You will see a new popup window.

4.On the new popup window, select 'Path' under 'User variables'. Double click on that and it will open another popup window. In that popup window, click on 'new' to add the installation folder of Anaconda.

e.g. if your installation folder is C:\Users\xyz123\Anaconda3\, add these two folders to environment variable.

  • C:\Users\xyz123\Anaconda3
  • C:\Users\xyz123\Anaconda3\Scripts
Here xyz123 is username.