解决conda install时Solving environment: failed with initial frozen solve. Retrying with flexible solve.

1. 问题描述

在conda install 软件包时出现Solving environment: failed with initial frozen solve. Retrying with flexible solve.而导致无法安装软件。

2. 解决方法

方法①:新建一个虚拟环境,但原先出现问题仍无法安装,可以在新的虚拟环境中安装。

conda create --name myenv
conda activate myenv

方法②:设置channel_priority 为false

conda config --set channel_priority false

方法③:降低conda版本

conda config --set allow_conda_downgrades true
conda install conda=4.6.14

3. 如果上述三个方法都无法解决,试试更新一下conda

conda update --all --yes

4. 参考:https://exerror.com/solving-environment-failed-with-initial-frozen-solve-retrying-with-flexible-solve/icon-default.png?t=M4ADhttps://exerror.com/solving-environment-failed-with-initial-frozen-solve-retrying-with-flexible-solve/


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部