failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with rep

我们用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就不会有上面的问题了。

你可能感兴趣的:(anaconda,anaconda,ubuntu)