問題描述
我安裝了 Anaconda(Python 2.7.11 |Anaconda 自定義(64 位)|(默認,2016 年 2 月 16 日,09:58:36)[MSC v.1500 64 位 (AMD64)] 在 win32 上)并且我我正在使用 Spyder 2.3.8
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
想將 Spyder 更新到最新版本,所以我通過了命令:
Would like to update Spyder to the latest version, so I went through the commands:
conda update conda
conda update anaconda
conda update spyder
它們都運行沒有錯誤,但 spyder 版本沒有改變 - 這是我用來啟動的命令:
They all ran without errors, but the spyder version didn't change - this is command I'm using to launch:
C:Anaconda2pythonw.exe C:Anaconda2cwp.py C:Anaconda2 "C:/Anaconda2/pythonw.exe" "C:/Anaconda2/Scripts/spyder-script.py" --new-實例
C:Anaconda2pythonw.exe C:Anaconda2cwp.py C:Anaconda2 "C:/Anaconda2/pythonw.exe" "C:/Anaconda2/Scripts/spyder-script.py" --new-instance
我錯過了什么嗎?
推薦答案
擴展juanpa.arrivillaga'評論:
如果要在root環境下更新Spyder,那么conda update spyder
對我有用.
If you want to update Spyder in the root environment, then conda update spyder
works for me.
如果你想為你創建的虛擬環境更新 Spyder(例如,為不同版本的 Python),那么 conda update -n $ENV_NAME spyder
where $ENV_NAME
是您的環境名稱.
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.
如果 conda update spyder
不起作用,this post 表明您可能需要在更新 spyder 之前運行 conda update anaconda
.另請注意,您可以根據需要指定確切的 spyder 版本.
In case conda update spyder
isn't working, this post indicates you might need to run conda update anaconda
before updating spyder. Also note that you can specify an exact spyder version if you want.
這篇關于如何在 anaconda 上更新 spyder的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!