Home > OS >  Error installing packages using conda command
Error installing packages using conda command

Time:05-16

I have Python 3.10 and I installed Anaconda 3 today. I would like to install packages by Anaconda prompt, and I do the following for example:

conda install fiona

However, the following error appears:

conda is not recognized as an internal command

How to adjust this?

If I do pip install fiona, then it works.

What could be this error of not working the command conda. My system is Windows.

enter image description here

CodePudding user response:

You have to add conda to your environment path. Otherwise your terminal/commmand prompt won't recognize the conda command straight away. You can check how to set environment variables and save them in your operating system here.

CodePudding user response:

You need to add Anaconda to PATH. In my case, anaconda installed into C:\Anaconda3. I added C:\Anaconda3 and C:\Anaconda3\Scripts\ to my path variable. Set PATH=%PATH%;C:\Anaconda3;C:\Anaconda3\Scripts\

  • Related