+2 votes
in General IT Tips by (71.8k 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

+1 vote
by (348k points)
selected by
 
Best answer

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.

Related questions

+1 vote
1 answer
+2 votes
1 answer
+1 vote
1 answer
asked Sep 20, 2022 in Programming Languages by kush (40.5k points)
+3 votes
1 answer

...