簡體   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