difference between command prompt and anaconda prompt difference between command prompt and anaconda prompt python python

difference between command prompt and anaconda prompt


Anaconda command prompt is just like command prompt, but it makes sure that you are able to use anaconda and conda commands from the prompt, without having to change directories or your path.

When you start Anaconda command prompt, you'll notice that it adds/("prepends") a bunch of locations to your PATH. These locations contain commands and scripts that you can run. So as long as you're in the Anaconda command prompt, you know you can use these commands.

During the installation of Anaconda there is a choice to add these to the PATH by default, and if checked you can also use these commands on the regular command prompt. But the anaconda prompt will always work.

As far as updating conda, if it doesn't work in command prompt, you can do

conda update conda

in Anaconda command prompt.


When you use anaconda command prompt it opened at conda directory (path where all the conda commands run)

like when I was installing pip3 install prettytable on command prompt it successfully installed but not replicate in jupyter notebook.But when install it using anaconda prompt it replicates intantly


Here is the difference:

PATH-TO behind is the path to Anaconda3

Afer adding the following env to Windows command prompt, it will be the same as Anaconda prompt:

set CONDA_DEFAULT_ENV=baseset CONDA_PREFIX=PATH-TO\Anaconda3set CONDA_EXE=%CONDA_PREFIX%\Scripts\conda.exeset CONDA_PROMPT_MODIFIER=(base) set CONDA_PYTHON_EXE=%CONDA_PREFIX%\python.exeset CONDA_SHLVL=1set Path=%CONDA_PREFIX%;%CONDA_PREFIX%\Library\mingw-w64\bin;%CONDA_PREFIX%\Library\usr\bin;%CONDA_PREFIX%\Library\bin;%CONDA_PREFIX%\Scripts;%CONDA_PREFIX%\bin;%CONDA_PREFIX%\condabin;%Path%