本文主要介绍Python中,使用anaconda安装更新spyder=5.1.5报错(Solving environment: failed with initial frozen solve. Retrying with flexible solve.`Solving environment: failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve.)的解决方法。

执行命令:

conda update anaconda
conda install spyder=5.1.5

报错信息:

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

或者

执行命令:

conda install anaconda spyder=5.1.5

报错信息:

`Solving environment: failed with initial frozen solve. Retrying with flexible solve. 
Collecting package metadata (repodata.json): 
done Solving environment:
 failed with initial frozen solve. Retrying with flexible solve.

解决方法:

需要先关闭Spyder,然后执行如下命令:

conda remove spyder
conda remove python-language-server
conda update anaconda
conda install spyder=5.1.5

推荐文档