![](/img/trans.png)
[英]How to install newer version of package in conda in case of conflicts?
[英]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.