Compatibility considerations related to Anaconda version and library updates

Upgrade acaconda to version 5.0
conda update conda
conda install anaconda=5.0

This method is not recommended, but download the new version and reinstall it!

Update package
conda update --all
This command updates all packages in the current environment to the latest version.

conda update -n env -all
This command updates all packages in the environment env to the latest version

conda update package_name
This command only updates the specific package package_name.

Summary In
most cases, updating one package may result in downgrade of many other packages. Therefore, it is not a good idea to update the package separately.

It is best to use the conda environment to control and manage the exact version of the package.

Reference materials:

https://blog.csdn.net/u012487272/article/details/79220514

https://stackoverflow.com/questions/31498447/why-does-conda-update-downgrade-some-libraries

Guess you like

Origin blog.csdn.net/yocencyy/article/details/104679358