'Error installing packages using conda command
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.
Solution 1:[1]
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.
Solution 2:[2]
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\
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Aravind G. |
| Solution 2 |

