如何更新Spyder? [英] How to update Spyder?
问题描述
每次我使用Anaconda启动Spyder时,都会收到一条消息,说我的版本已经过时,应该更新它,所以我按照Spyder自己的网站给我的说明运行了以下命令:
Everytime I start Spyder (with Anaconda) I get a message saying that my version is outdated and I should update it, so I followed the instructions Spyder's own website gave me, which is running the following commands:
conda update qt pyqt
conda update spyder
但是Spyder告诉我语法无效. 我该怎么办?
But Spyder tells me that syntax is invalid. What should I do?
推荐答案
(此处为 Spyder维护程序)这些命令不是要在Spyder控制台内部运行,而是要在系统终端(cmd.exe
在Windows上为xterm
,在Linux上为Terminal.app
,在macOS上是Terminal.app
.而且,在执行此操作之前,请不要忘记关闭Spyder.
(Spyder maintainer here) Those commands are not meant to be run inside Spyder consoles, but in a system terminal (cmd.exe
on Windows, xterm
on Linux or Terminal.app
on macOS). And please don't forget to close Spyder before doing that.
我更新了发布"页面中的文本,以使内容更加清晰.
I updated the text in our Releases page to make that crystal clear.
这篇关于如何更新Spyder?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!