Managing conda
Verifying that conda is installed
To verify that conda is installed, in your terminal window or an Anaconda Prompt, run:
conda --version
Conda responds with the version number that you have installed,
such as conda 4.7.12
.
If you get an error message, make sure of the following:
You are logged into the same user account that you used to install Anaconda or Miniconda.
You are in a directory that Anaconda or Miniconda can find.
You have closed and re-opened the terminal window after installing conda.
Determining your conda version
In addition to the conda --version
command explained above,
you can determine what conda version is installed by running
one of the following commands in your terminal window or an Anaconda Prompt:
conda info
OR
conda -V
Updating conda to the current version
To update conda, in your terminal window or an Anaconda Prompt, run:
conda update conda
Conda compares versions and reports what is available to install.
It also tells you about other packages that will be automatically
updated or changed with the update. If conda reports that a newer
version is available, type y
to update:
Proceed ([y]/n)? y
Suppressing warning message about updating conda
To suppress the following warning message when you do not want to update conda to the latest version:
==> WARNING: A newer version of conda exists. <==
current version: 4.6.13
latest version: 4.8.0
Update conda by running: conda update -n base conda
Run the following command from your terminal or Anaconda Prompt:
conda config --set notify_outdated_conda false
Or add the following line in your .condarc
file:
notify_outdated_conda: false