Is there a way (using conda update) that I can list outdated packages and select or bulk update (compatible) packages in Anaconda?
It doesn't make much sense updating the packages individually as there are hundreds of them.
No, conda update and conda install don't update packages installed with pip (or install them using pip ). These conda commands only check your "default" anaconda-channels or the ones specified with -c , they ignore everything else.
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.
The conda update –all will upgrade everything. This updates all packages in the current environment to the latest version. In doing so, it drops all the version constraints from history and tries to make everything as new as possible. Anaconda2 includes Python 2.7, and Anaconda3 includes Python 3.7.
You want conda update --all
.
conda search --outdated
will show outdated packages, and conda update --all
will update them (note that the latter will not update you from Python 2 to Python 3, but the former will show Python as being outdated if you do use Python 2).
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