简体   繁体   中英

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 a known problem without good solutions.

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM