Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

resolving package resolutions in conda

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

like image 637
kmario23 Avatar asked Jun 22 '18 22:06

kmario23


People also ask

How do you resolve conda conflict?

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.

Why is conda install so slow?

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.


1 Answers

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.

like image 71
msjahid Avatar answered Nov 06 '22 03:11

msjahid