如何在anaconda上更新spyder

时间:2021-08-01 08:04:18

I have Anaconda installed (Python 2.7.11 |Anaconda custom (64-bit)| (default, Feb 16 2016, 09:58:36) [MSC v.1500 64 bit (AMD64)] on win32) and I am using Spyder 2.3.8

我安装了Anaconda(Python 2.7.11 | Anaconda自定义(64位)|(默认,2016年2月16日,09:58:36)[MSC v.1500 64位(AMD64)]在win32上)我正在使用Spyder 2.3.8

Would like to update Spyder to the latest version, so I went trough the commands:

想将Spyder更新到最新版本,所以我通过命令:

conda update conda
conda update anaconda
conda update spyder

They all ran without errors, but the spyder version didn't change - this is command I'm using to launch:

它们都运行没有错误,但是spyder版本没有改变 - 这是我用来启动的命令:

C:\Anaconda2\pythonw.exe C:\Anaconda2\cwp.py C:\Anaconda2 "C:/Anaconda2/pythonw.exe" "C:/Anaconda2/Scripts/spyder-script.py" --new-instance

C:\ Anaconda2 \ pythonw.exe C:\ Anaconda2 \ cwp.py C:\ Anaconda2“C:/Anaconda2/pythonw.exe”“C:/Anaconda2/Scripts/spyder-script.py”--new-instance

Am I missing something?

我错过了什么吗?

Thanks

谢谢

4 个解决方案

#1


39  

To expand on juanpa.arrivillaga's comment:

扩大juanpa.arrivillaga的评论:

If you want to update Spyder in the root environment, then conda update spyder works for me.

如果你想在root环境中更新Spyder,那么conda update spyder对我有用。

If you want to update Spyder for a virtual environment you have created (e.g., for a different version of Python), then conda update -n $ENV_NAME spyder where $ENV_NAME is your environment name.

如果您想为您创建的虚拟环境更新Spyder(例如,对于不同版本的Python),那么conda update -n $ ENV_NAME spyder其中$ ENV_NAME是您的环境名称。

#2


7  

I see that you used pip to update. This is strongly discouraged (at least in Spyder 3). The Spyder update notices I receive have always included the following:

我看到你用pip来更新。强烈建议不要这样做(至少在Spyder 3中)。我收到的Spyder更新通知总是包括以下内容:

"IMPORTANT NOTE: It seems that you are using Spyder with Anaconda/Minconda. Please don't use pip to update it as that will probably break your installation. Instead please wait until new conda packages are available and use conda to perform the update."

“重要说明:您似乎正在使用Spyder和Anaconda / Minconda。请不要使用pip来更新它,因为这可能会破坏您的安装。请等到新的conda包可用并使用conda执行更新。 “

#3


1  

Use pip directly (run command terminal as administrator):

直接使用pip(以管理员身份运行命令终端):

pip install --upgrade spyder

pip install --upgrade spyder

You might get an error once launching the new Spyder "nbconvert >= 4.0: None (NOK)", which will require you to resinstall configparser:

一旦启动新的Spyder“nbconvert> = 4.0:None(NOK)”,您可能会收到错误,这将要求您使用resinstall configparser:

conda uninstall configparser

conda uninstall configparser

conda install configparser

conda install configparser

You should now have a fresh and up to date installation of Spyder.

您现在应该有一个全新的Spyder安装。

#4


0  

One way to avoid errors during installing or updating packages is to run the Anaconda prompt as Administrator. Hope it helps!

在安装或更新软件包期间避免错误的一种方法是以管理员身份运行Anaconda提示。希望能帮助到你!

#1


39  

To expand on juanpa.arrivillaga's comment:

扩大juanpa.arrivillaga的评论:

If you want to update Spyder in the root environment, then conda update spyder works for me.

如果你想在root环境中更新Spyder,那么conda update spyder对我有用。

If you want to update Spyder for a virtual environment you have created (e.g., for a different version of Python), then conda update -n $ENV_NAME spyder where $ENV_NAME is your environment name.

如果您想为您创建的虚拟环境更新Spyder(例如,对于不同版本的Python),那么conda update -n $ ENV_NAME spyder其中$ ENV_NAME是您的环境名称。

#2


7  

I see that you used pip to update. This is strongly discouraged (at least in Spyder 3). The Spyder update notices I receive have always included the following:

我看到你用pip来更新。强烈建议不要这样做(至少在Spyder 3中)。我收到的Spyder更新通知总是包括以下内容:

"IMPORTANT NOTE: It seems that you are using Spyder with Anaconda/Minconda. Please don't use pip to update it as that will probably break your installation. Instead please wait until new conda packages are available and use conda to perform the update."

“重要说明:您似乎正在使用Spyder和Anaconda / Minconda。请不要使用pip来更新它,因为这可能会破坏您的安装。请等到新的conda包可用并使用conda执行更新。 “

#3


1  

Use pip directly (run command terminal as administrator):

直接使用pip(以管理员身份运行命令终端):

pip install --upgrade spyder

pip install --upgrade spyder

You might get an error once launching the new Spyder "nbconvert >= 4.0: None (NOK)", which will require you to resinstall configparser:

一旦启动新的Spyder“nbconvert> = 4.0:None(NOK)”,您可能会收到错误,这将要求您使用resinstall configparser:

conda uninstall configparser

conda uninstall configparser

conda install configparser

conda install configparser

You should now have a fresh and up to date installation of Spyder.

您现在应该有一个全新的Spyder安装。

#4


0  

One way to avoid errors during installing or updating packages is to run the Anaconda prompt as Administrator. Hope it helps!

在安装或更新软件包期间避免错误的一种方法是以管理员身份运行Anaconda提示。希望能帮助到你!