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