繁体   English   中英

如何强制 conda 跳过检查冲突?

[英]How to force conda to skip examining conflicts?

我正在尝试安装conda install -c conda-forge opencv --no-deps --no-update-deps ,但examining conflicts需要永远。 我在网上发现这是一个没有好的解决方案的已知问题。

是否可以强制 conda 完全跳过此步骤? 可能即使是简单地用二进制文件解压存档也适用于我的特定情况。

禁用无法满足的提示

这些冲突报告的 Conda 术语是无法满足的提示,并且有一个配置选项可以切换它们的报告:

$ 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

要禁用它们,请设置

conda config --set unsatisfiable_hints false

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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