Time and again, I'm faced with this disturbing problem of warning: possible package resolutions (only showing differing packages):
For instance:
junk ❯ conda update --all
Solving environment: -
Warning: >10 possible package resolutions (only showing differing packages):
- anaconda::cymem-1.31.2-py36_0, anaconda::plac-0.9.6-py36_0, anaconda::preshed-1.0.0-py36_0, conda-forge::joblib-0.11-py36_0
- anaconda::cymem-1.31.2-py36_0, anaconda::plac-0.9.6-py36_0, anaconda::preshed-1.0.0-py36_0, defaults::joblib-0.11-py36_0
- anaconda::cymem-1.31.2-py36_0, anaconda::preshed-1.0.0-py36_0, conda-forge::joblib-0.11-py36_0, defaults::plac-0.9.6-py36_0
- anaconda::cymem-1.31.2-py36_0, anaconda::preshed-1.0.0-py36_0, defaults::joblib-0.11-py36_0, defaults::plac-0.9.6-py36_0
- anaconda::preshed-1.0.0-py36_0, conda-forge::joblib-0.11-py36_0, defaults::cymem-1.31.2-py36_0, defaults::plac-0.9.6-py36_0
- anaconda::preshed-1.0.0-py36_0, defaults::cymem-1.31.2-py36_0, defaults::joblib-0.11-py36_0, defaults::plac-0.9.6-py36_0
- anaconda::plac-0.9.6-py36_0, anaconda::preshed-1.0.0-py36_0, conda-forge::joblib-0.11-py36_0, defaults::cymem-1.31.2-py36_0
- anaconda::plac-0.9.6-py36_0, anaconda::preshed-1.0.0-py36_0, defaults::cymem-1.31.2-py36_0, defaults::joblib-0.11-py36_0
- anaconda::plac-0.9.6-py36_0, conda-forge::joblib-0.11-py36_0, defaults::cymem-1.31.2-py36_0, defaults::preshed-1.0.0-py36_0
- anaconda::cymem-1.31.2-py36_0, anaconda::plac-0.9.6-py36_0, conda-forge::joblib-0.11-py36_0, defaults::preshed-1.0.0-py36_0
... and othedone
How do I resolve these warnings? Is it possible to suppress it? Completely resolving it would definitely be nicer than suppressing it.
I have already tried doing:
$ conda update conda
But, unfortunately, that didn't solve the issue as claimed in: conda/issues/1580
Recommendations for Avoiding Dependency Conflicts with CondaAlways create a new environment for each project. Install all the packages that you need in the new environment at the same time. Installing packages one at a time can lead to dependency conflicts.
Unlike many package managers, Anaconda's repositories generally don't filter or remove old packages from the index. This allows old environments to be easily recreated. However, it does mean that the index metadata is always growing, and thus conda becomes slower as the number of packages increases.
You can use this following command this one resolved my issue
conda update --strict-channel-priority --all
Basically, this command force update all warning packages.
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