我们用conda install xxx来安装包遇到:
failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
这其实是conda的环境不适配,我们需要将对环境进行更新,通过如下几个步骤:
# 查看版本
conda -V
# 更新conda环境
conda update -n base conda
# 更新conda的所有包
conda update --all
再用conda install xxx就不会有上面的问题了。