spyder5.1.5更新
python编程一直使用anaconda的spyder编译器,开启自动检查更新。之前顺利更新到5.0.5,但在更新5.1.5时遇到问题。conda update anaconda顺利运行
conda install spyder=5.1.5时就卡在Solving environment: failed with initial frozen solve. Retrying with flexible solve.这里。
上网查询之后在一个英文网站找到解决办法,下面是原文:
(Spyder maintainer here) Our regular instructions to update Spyder don't work in this case because there are some incompatible dependencies between Spyder 5.0.5 and 5.1.5.
To workaround this problem, you need to close Spyder and run the following commands in the Anaconda Prompt (or your system terminal on Linux or macOS):
conda remove spyder
conda remove python-language-server
conda update anaconda
conda install spyder=5.1.5
The second or third commands (i.e. conda remove python-language-server or conda update anaconda) could give you errors, but that's fine. Simply ignore them and continue with the other commands.
翻译过来就是Spyder 5.0.5 和 5.1.5 之间存在一些不兼容,想要在anaconda中升级为5.1.5依次运行下面命令:
conda remove spyder
conda remove python-language-server
conda update anaconda
conda install spyder=5.1.5
第二个或第三个命令(即conda remove python-language-server或conda update anaconda)可能会报错,忽略继续运行下个命令即可。新版spyder图标:
新人发帖,看到论坛没有相关帖子,斗胆发帖。如有发错版区,请联系版主删除。
谢谢分享! 收下,谢谢分享{:1_893:}
页:
[1]