Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I update to new version of conda?

My conda version is 4.x

while new version is 23.x

I am trying to run the command it asks me to run to update, but that doesn't seem to update it.

I installed miniconda in base while doing initial installation

==> WARNING: A newer version of conda exists. <==
  current version: 4.11.0
  latest version: 23.5.0

Please update conda by running

    $ conda update -n base -c defaults conda

I have tried the above and all I get is:

Collecting package metadata (current_repodata.json): done
Solving environment: done
# All requested packages already installed.

But it still shows version as 4.x

like image 355
Baktaawar Avatar asked Dec 30 '25 15:12

Baktaawar


1 Answers

Try updating conda with this command:

conda update -n base -c defaults conda --repodata-fn=repodata.json

hope it works. And there is a brief discussion on GitHub. conda update conda does not update conda

like image 179
Socurem Avatar answered Jan 02 '26 08:01

Socurem



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!