You get the Python Anaconda error, ‘conda’ is not recognized as an internal or external command, operable program or batch file, when the path variable in environment is not set correctly. Although Anaconda prompt users to select the option to add path during installation but if you missed that even then you can manually set the path.
According to Release notes of Anaconda 4.4 –
To prevent this error, you need to install conda with basic precautions. According to official documentation –
Note: To prevent permission errors, do not launch the installer from the Favorites folder.
Note: If you encounter issues during installation, temporarily disable your anti-virus software during install, then re-enable it after the installation concludes. If you installed for all users, uninstall Anaconda and re-install it for your user only and try again.
Note: Install Anaconda to a directory path that does not contain spaces or unicode characters.
Note: Do not install as Administrator unless admin privileges are required.
Note: If you are behind a company proxy, you may need to do some additional set up. See how to set up your proxy.
Check the path checkbox to automatically add path variable in your windows environment.
Although, Anaconda do not recommend selecting this checkbox because it can cause problems and may require you to uninstall and reinstall it.
Conda recommends that you work directly on the Anaconda Prompt.
Add Anaconda path to environment manually
Open Anaconda Prompt
Check Conda Installed Location using where conda
Open advanced system settings
Click on Environment Variables button
Edit Path by double clicking on path variable
Add new paths that you got from where python
and where conda
commands. For example
C:\Users\RajaRama\Anaconda3\Scripts C:\Users\RajaRama\Anaconda3 C:\Users\RajaRama\Anaconda3\Library\bin
Open command prompt and check if you are getting error again.
After following all these steps, you won’t get ‘conda’ is not recognized as an internal or external command, operable program or batch file.