为什么 Conda 不安装/更新最新版本的 Spyder? [英] Why is Conda not installing/updating the latest version of Spyder?

查看:114
本文介绍了为什么 Conda 不安装/更新最新版本的 Spyder?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的 Anaconda 上安装 Spyder,所以我完全按照这里的说明运行代码:https://anaconda.org/anaconda/spyder

I want to install Spyder on my Anaconda, so I ran the code exactly as instructed here: https://anaconda.org/anaconda/spyder

conda install -c anaconda spyder

运行 Spyder 给了我两个:

Running Spyder gave me both:

  1. 提示有新版本的 Spyder
  2. 关于Spyder 遇到内部问题!"的内部错误

好的,所以我会先尝试更新 Spyder,然后按照此处的命令行说明进行操作:https://docs.spyder-ide.org/current/installation.html

Okay, so I'll try to update Spyder first, and follow the command line instructions here: https://docs.spyder-ide.org/current/installation.html

conda update anaconda
conda update spyder

打开 Spyder 仍然给我同样的提示和错误.然后我检查了我的 Spyder 版本是 4.0.1.

Opening Spyder still gave me the same prompt and error. I then checked my Spyder version to be 4.0.1.

更新一切似乎也无济于事:

Updating everything doesn't seem to help either:

conda update --all

我的 Spyder 仍然是 4.0.1 版.

My Spyder is still version 4.0.1.

进一步挖掘错误代码,假设为解决方案"在这里给出:
https://github.com/spyder-ide/spyder/issues/12243
https://github.com/spyder-ide/spyder/issues/13370
https://github.com/spyder-ide/spyder/issues/11798

Digging further on the error code, supposed "solutions" were given here:
https://github.com/spyder-ide/spyder/issues/12243
https://github.com/spyder-ide/spyder/issues/13370
https://github.com/spyder-ide/spyder/issues/11798

这只是告诉用户安装最新版本的Spyder

Which is simply to tell users to install the latest version of Spyder by

conda install spyder=4.1.*

但是那些错误报告和解决方案"是一年前制作的.Spyder 现在是更高版本.

为什么 conda 仍然安装 Spyder 4.0.1 版,所有问题,在 4.0.1 已知有问题一年后?为什么它不能正确更新到任何更高版本?最新版本应该是 5.0.0,甚至 4.2.* 在此之前推出.

Why is conda still installing Spyder version 4.0.1, with all the issues, one year after 4.0.1 is known to be problematic? Why does it not update correctly to any later version? The latest version is supposed to be 5.0.0, with even 4.2.* rolled out before that.

推荐答案

问题出在 Anaconda 频道上.

The problem is with the Anaconda channel.

我卸载了 Spyder,然后使用以下行安装:

I uninstalled Spyder and then install with the line:

conda install spyder

并成功安装了 Spyder 5.0.0.

and Spyder 5.0.0 was successfully installed.

Anaconda 的 Spyder 页面 (https://anaconda.org/anaconda/spyder) 给出了命令如:

Anaconda's Spyder page (https://anaconda.org/anaconda/spyder) gave the command as:

conda install -c anaconda spyder

这导致安装了 Spyder 4.0.1,而不是 5.0.0,而 5.0.0 应该按照页面本身的说明安装.

which led to the installation of Spyder 4.0.1, instead of 5.0.0 which was what it was supposed to install as documented on the page itself.

这篇关于为什么 Conda 不安装/更新最新版本的 Spyder?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆