Search code examples
pythonanacondacondacommand-prompt

How to upgrade conda version via anaconda prompt?


I'm using conda to install a couple of packages, and it warns me with:

==> WARNING: A newer version of conda exists. <==
  current version: 4.7.10
  latest version: 4.10.1

Please update conda by running

    $ conda update -n base -c defaults conda

My question is that how can I upgrade to a specific version instead of a latest version, for example conda version 4.9.2?


Solution

  • Pretty simple to do so! Use these commands without "<< >>"

    conda update conda
    conda install anaconda=<<VersionNumber>>
    

    Hope this solves your problems. More info at Anaconda Documentation