Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to upgrade to the latest Anaconda 5.0.1

I have Anaconda 4.4.0 (Windows, Python 3.6., 64 bit). I would like to upgrade to latest Anaconda 5.0.1

Few options:

  1. Download the full installer and run it
  2. From existing installation (of 4.4.0) run "conda update --all"
  3. From existing installation run "conda update anaconda"

What is the tradeoff among these options? What is the recommended one?

like image 486
Adi E Avatar asked Dec 18 '17 06:12

Adi E


People also ask

How do I update my latest Anaconda?

To update Anaconda to the latest version, type the following command. To update the Anaconda to a specific version, type the following command. The command conda update anaconda=VersionNumber grabs the specific release of the Anaconda metapackage; for example, conda update anaconda=2019.10.

Does conda update all update conda?

Updates conda packages to the latest compatible version. This command accepts a list of package names and updates them to the latest versions that are compatible with all other packages in the environment. Conda attempts to install the newest versions of the requested packages.

What version of Python does Anaconda use?

Anaconda is distributed in two different installers: Anaconda2 default environment is Python 2.7. Anaconda3 default environment is Python 3.7.

How long does it take for Anaconda to update?

Here is the command for updating Anaconda Navigator with the command line. It will take around 1–2 minutes to install. That's it, folks!


1 Answers

  1. Download the full installer: Provided that you uninstall your existing Anaconda, this method will be least likely to cause upgrade problems. It will also probably be slower. Note that I think you should uninstall the old Anaconda so that you don't end up with two conda[.exe] files, two Anaconda Prompt shortcuts, and so forth. You may end up trying to install a package with the wrong conda and be very confused about what's happening.
  2. conda update --all: This will update all of your packages in the environment to their latest version, regardless of their version in the Anaconda installer. This is not recommended because you will end up with package versions that are different from the ones in the Anaconda installer and you may end up with an error message about packages that are incompatible.
  3. conda update anaconda: This will update the "metapackage" called anaconda to the latest version. This package has dependencies on specific versions of all of the packages and Anaconda (the company) give some assurance that these will all work together. So, updating the anaconda package will update all your packages to the version used in the latest version of the Anaconda installer.

My suggestion (based on some experience, I am not an employee of Anaconda) would be to try #3 and if it fails, try #1.

like image 186
darthbith Avatar answered Sep 22 '22 01:09

darthbith