简体   繁体   English

Anaconda 不会更新 spyder 4

[英]Anaconda won't update spyder 4

I just installed Anaconda and haven't changed anything.我刚刚安装了 Anaconda 并没有改变任何东西。 When I start spyder3 it tells me spyder 4 is available.当我启动 spyder3 时,它告诉我 spyder 4 可用。 So I decided to update it.所以我决定更新它。 I tried我试过

conda update  --all

conda update conda

conda update spyder

. .

It all gave no errors, but when I start spyder it's all fine.这一切都没有出现错误,但是当我启动 spyder 时一切正常。 I know this should work because I already did this in the past.我知道这应该有效,因为我过去已经这样做了。 Every help very appreciated.非常感谢每一个帮助。

What worked for me was clicking the "remove application" option in the settings in the top left corner of Spyder on the Anaconda Navigator.对我有用的是单击 Anaconda Navigator 上 Spyder 左上角设置中的“删除应用程序”选项。 Once I removed it, it gave me an option to reinstall the newest version of Spyder.删除它后,它让我可以选择重新安装最新版本的 Spyder。

You may have to do the commands above (for example, conda update --all) to "unlock" the newer versions after removal, though.不过,您可能必须执行上述命令(例如,conda update --all)才能在删除后“解锁”较新版本。

The following methods work for Anaconda Navigator 2.0.4 (Mac).以下方法适用于 Anaconda Navigator 2.0.4 (Mac)。

Update Anaconda Navigator更新 Anaconda 导航器

Go on the Anaconda Navigator and click on the gear on the top right corner of the Spyder "icon".进入 Anaconda Navigator 并单击 Spyder“图标”右上角的齿轮。

Click Remove.单击删除。

Wait a couple of minutes for it to remove.等待几分钟让它移除。

Then click refresh (if doesn't refresh automatically).然后点击刷新(如果没有自动刷新)。

Spyder should reappear and the latest version should be suggested for installation. Spyder 应该会重新出现,并且应该建议安装最新版本。 However , click again on the gear, install version-specific, and select the desired version.但是,再次单击齿轮,安装特定版本,然后选择所需的版本。

If it doesn't work, remove Spyder again, open Terminal, and enters:如果还是不行,再次删除Spyder,打开终端,输入:

conda update anaconda
conda install spyder=5.0.5

Same problem , i have an environment with Spyder 3.3.1 when i try update from command line says it's already installed.同样的问题,当我尝试从命令行更新时,我有一个带有 Spyder 3.3.1 的环境,说它已经安装。 have tried试过
conda update -n $ENV_NAME spyder conda update -n $ENV_NAME spyder
conda update spyder康达更新间谍

when i try and update it through anaconda navigator it says "all requested packages already installed" but it hasn't it still remains as version 3.3.1当我尝试通过 anaconda navigator 更新它时,它说“所有请求的包已经安装”但它没有它仍然保留为 3.3.1 版

Worked out that i had to upgrade to python 3.6 at least.发现我至少必须升级到 python 3.6。 but had a lot of trouble doing that with all the existing dependencies.但是在处理所有现有依赖项时遇到了很多麻烦。

finally i just created a new environment with 3.7 and spyder 4.3, so not ideal but at least it works最后我刚刚用 3.7 和 spyder 4.3 创建了一个新环境,所以不理想但至少它可以工作

I have the exact same problem.我有完全一样的问题。 - cannot upgrade to Spyder 4.0.1. - 无法升级到 Spyder 4.0.1。 I thought I'd provide some more details here.我想我会在这里提供更多细节。 I've also just reformatted my disk and re-installed windows 10. Installed visual studio 2019 tools (if it matters).我也刚刚重新格式化了我的磁盘并重新安装了 Windows 10。安装了 Visual Studio 2019 工具(如果重要的话)。 I just installed the latest Anaconda Distribution 2019.10 (windows x64)我刚刚安装了最新的 Anaconda Distribution 2019.10 (windows x64)

I've run the following to no avail....我已经运行以下无济于事....

conda update conda

conda update anaconda (not sure if its any different) conda update anaconda (不确定是否有任何不同)

Neither conda update method downloads spyder 4.0.1 conda 更新方法都没有下载 spyder 4.0.1

conda install -c anaconda spyder

This method downloads and re-installs spyder 3.3.6此方法下载并重新安装spyder 3.3.6

conda install spyder=4.0.1

this method errors这种方法错误

upgrading the spyder version from Anaconda Navigator worked for me.从 Anaconda Navigator 升级 spyder 版本对我有用。

  1. Open the Anaconda Navigator打开 Anaconda 导航器
  2. Go to the spyder tile转到 spyder 磁贴
  3. Click on the gear icon on the spyder tile单击 spyder 磁贴上的齿轮图标
  4. Choose from the option "Install specific version"从选项“安装特定版本”中选择

This should do the trick这应该可以解决问题

Going through Anaconda Navigator worked for me.通过 Anaconda Navigator 对我有用。 Not sure what command prompt didn't work.不确定什么命令提示符不起作用。 But I'm leaving my other 'answer' here in case anyone can speak to that issue.但是我将我的另一个“答案”留在这里,以防有人可以谈论这个问题。

Solution:解决方案:

  1. Open Anaconda Navigator打开 Anaconda 导航器
  2. If prompted, update Anaconda Navigator如果出现提示,请更新 Anaconda Navigator
  3. Click the settings tab on the Spyder card --> 4.0.1单击 Spyder 卡上的设置选项卡 --> 4.0.1

I have performed the following command to upgrade spyder3 to spyder4我已执行以下命令将 spyder3 升级到 spyder4

conda update --all

Os: Ubuntu 20.04 conda: base (python3.7.7)操作系统:Ubuntu 20.04 conda:基础(python3.7.7)

Also the following commands did not help upgrade spyder3 to spyder4此外,以下命令也无助于将 spyder3 升级到 spyder4

conda update conda
conda update spyder

Please let us know if it works for you in windows OS.请让我们知道它是否适用于 Windows 操作系统。

Run Anaconda as admin, click on the gear in the upper right corner of the Spyder app, click update.以管理员身份运行Anaconda,点击Spyder应用程序右上角的齿轮,点击更新。 Hope this helped.希望这有帮助。

( Spyder maintainer here ) To update to Spyder 4 in Anaconda you need to 这里是 Spyder 维护者)要在 Anaconda 中更新到 Spyder 4,您需要

  • Close Spyder.关闭 Spyder。

  • Open the Anaconda Prompt (Windows), Terminal.app (macOS) or xterm/konsole/gnome-terminal (Linux).打开 Anaconda Prompt (Windows)、Terminal.app (macOS) 或 xterm/konsole/gnome-terminal (Linux)。

  • Run the following commands:运行以下命令:

     conda update anaconda conda install spyder=4

Here is what worked for me - all through the UI (The gear icon on the app tiles):这是对我有用的方法 - 整个 UI(应用程序磁贴上的齿轮图标):

  1. Make sure your Anaconda is the latest version.确保您的 Anaconda 是最新版本。 Mine is 2.0.3我的是 2.0.3
  2. Remove Spyder删除 Spyder
  3. Install Spyder安装 Spyder
  4. After Spyder is installed, install the specific version (if it is NOT up to date already).安装 Spyder 后,安装特定版本(如果它不是最新的)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM