For m, on OS X, conda update --all
often downgrades libraries - along with updating many.
Is this usual? Or something possibly in my setup?
Earlier this year, it was pillow for many months.
Surprisingly, today it was several of the HDF5 related libraries, numba and llvmlite.
So conda update numba
brings numba back to the most recent version, and so on with the other 8 libraries, but why doesn't conda update --all
do this anyway?
If you want to update all the packages under conda distribution, you can use the following command. The conda update –all will upgrade everything. This updates all packages in the current environment to the latest version.
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.
Update AllIf you want the newest individual package releases and don't mind potentially working with package builds that aren't thoroughly tested for integration, then run conda update --all .
It's a compatibility issue. Anaconda is a stable set of packages. When you update Anaconda, you update to this stable list.
However, when you update individual packages, they might cause incompatibility issues with the rest of the Anaconda distribution so they aren't considered stable. That's why when you use conda update --all
, it gets you to the latest stable Anaconda distribution, which might or might not have the version of the individual package you wanted.
See here: https://github.com/ContinuumIO/anaconda-issues/issues/39
Edit: This behavior has changed. It now tries to increase the version of all packages (except Python between major/minor version) such that no packages will be incompatible with each other.
See here: http://continuum.io/blog/advanced-conda-part-1#conda-update-all
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With