出现原因
在使用conda安装扩展包时,提醒failed with initial frozen solve
问题详情
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
解决方案
首先执行
conda update --all
报错,提醒执行
conda update --prefix /opt/anaconda3 anaconda
执行完毕重新执行 conda update --all
conda update --all
问题解决
原理,我也不知道
参考:https://blog.csdn.net/Brookekitty/article/details/106226285