Vadim Kantorov
Vadim Kantorov

Reputation: 1144

How to force conda to skip examining conflicts?

I'm trying to install conda install -c conda-forge opencv --no-deps --no-update-deps, but examining conflicts takes forever. I found online that this is a known problem without good solutions.

Is it possible to force Conda to skip this step altogether? Probably even simply unpacking the archive with binaries would work for my particular case.

Upvotes: 3

Views: 4099

Answers (1)

merv
merv

Reputation: 77107

Disable Unsatisfiable Hints

The Conda term for these conflict reports is unsatisfiable hints, and there is a configuration option to toggle their reporting:

$ conda config --describe unsatisfiable_hints
# # unsatisfiable_hints (bool)
# #   A boolean to determine if conda should find conflicting packages in
# #   the case of a failed install.
# # 
# unsatisfiable_hints: true

To disable them, set

conda config --set unsatisfiable_hints false

Upvotes: 5

Related Questions