[PYTHON] What to do if the message "Not recognized as an internal or external command, operable program or batch file" is displayed when executing the conda command after installing Miniconda.

I'm trying to study machine learning after installing Miniconda and building a virtual environment. Due to the large size of Anaconda, I decided to install Miniconda.

After installing Miniconda, when I enter the conda command, it looks like this and I can no longer proceed. "Not recognized as an internal or external command, operable program or batch file."

Currently, it has been resolved, so I will describe the remedy.

① Set environment variables There seem to be two ways to set it from the command prompt and the control panel. This time, I set it from the control panel.

Control Panel> System and Security> System> Advanced System Settings If you proceed, the system properties will be displayed. システムのプロパティ.PNG

Then proceed as follows. Advanced tab> Environment Variables> Path

After selecting Path, select Edit> New and select Described the file path to the directory where Miniconda is stored.

② Run Anaconda Prompt as an administrator Once I was able to set the environment variables, I ran Anaconda Prompt as an administrator and entered the conda command and it worked.

Recommended Posts

What to do if the message "Not recognized as an internal or external command, operable program or batch file" is displayed when executing the conda command after installing Miniconda.
'pip' is not recognized as an internal or external command, operable program or batch file.
What to do if the progress bar is not displayed in tqdm of python
What to do if the image is not displayed using matplotlib etc. in the Docker container
What to do when Japanese is not displayed on matplotlib
[Beginner] What to do when "[Errno 2] File b'test.csv' does not exist: b'test.csv" is displayed when reading pandas csv
What to do if you cat or tail a binary file and the terminal is garbled
What to do if you get the message "" ~ .pkg "is corrupted and cannot be opened" when installing wxPython on Mac OS X
What to do if you get "The session could not be opened" when installing CentOS on VirtualBox
[Mac OS] What to do when Python is not installed as a framework. Is displayed when import matplotlib is performed.
What to do when "Something is already running at port 8000" is displayed when the develop command of Gatsby is executed.
What to do if you get an error when installing Dlib (Ubuntu)
What to do when a warning message is displayed in pip list
What to do if you get the error RuntimeError: Python is not installed as a framework when trying to use matplitlib and pylab in Python 3.3
What to do if you get an error when installing python with pyenv
What to do if abort is displayed when inputting camera video in OpenCV
What to do if (base) is displayed at the beginning of the Mac terminal
What to do if you get the error "Error: opencv3: Does not support building both Python 2 and 3 wrappers" when installing openCV 3
What to do if you get an OpenSSL error when installing Python 2 with pyenv
What to do when is not in the sudoers file.This incident will be reported.
What to do when only the window is displayed and nothing is displayed in pygame Note
What to do if the print command itself causes an error in Maya python
What to do if Python IntelliSense is not displayed in VS Code on Windows
What to do if pyenv is not enabled (zsh)
Correspondence when an alert is issued by the workon command after installing virtualenv (MacOS10.10 + Python3.4)
What to do if an error message "There was a problem displaying this web page" is displayed in Chrome's Web Driver (Selenium)