Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to force conda to upgrade all packages, regardless of dependency graph?

Tags:

conda

I usually end up with a bunch of out-of-date packages in my conda environment because some package I installed at one time has a pinned dependency (e.g. scipy == 0.15.0) and it prevents other packages (e.g. jupyter) from updating. How can I ignore the pins and force update all packages?

like image 394
uut Avatar asked May 16 '18 23:05

uut


1 Answers

conda update --all --no-pin --no-channel-priority

This ignores all pinned packages, channel priority, and updates everything. Beware that this might break compatibility for some packages that really need a specific version of a package.

like image 70
uut Avatar answered Oct 24 '22 06:10

uut