python - Spyder 5.1.5 内核挂起,5.2.1 无法与 conda 一起使用

我在内核卡在有效脚本上时遇到了同样的问题: spyder kernel hangs...

Spyder 5.2 在 Anaconda 中尚不可用,但我通过上面答案中提供的链接安装了它。当我尝试让它使用我当前的 conda 环境时,出现以下错误:

Your Python environment or installation doesn't have the spyder‑kernels module or the right version of it installed (>= 2.2.0 and < 2.3.0). Without this module is not possible for Spyder to create a console for you.

You can install it by running in a system terminal: conda install spyder‑kernels=2.2

由于许多冲突,我无法将 conda 从 sypder-kernel=2.1.3 更新到 2.2.0。

我想知道是否有人对我如何让 Spyder 5.2 与 Anaconda 一起工作有任何想法,或者我是否只需要等待它由 Anaconda 发布?我对这类事情不是那么精通。

最佳答案

我在 spyder 5.2.1 上遇到了同样的问题,我打开 cmd 并输入:

pip install spyder-kernels==2.2.0

然后它下载了正确的内核,在打开 spyder 后我没有得到任何与内核版本相关的错误。

https://stackoverflow.com/questions/70627860/

相关文章:

php - 是什么导致我的 Laravel 8 应用程序出现此查询生成器错误?

flutter - 错误 : Member not found: 'PlatformInterfac

python - "' str ' object has no attribute ' 将 slug

javascript - NextJS自动将标签替换为组件

postgresql - 了解全文搜索查询中子句顺序的影响

python - 如何使用正则表达式创建特定的虚拟变量?

javascript - Firebase AppCheck 网络应用程序无法在生产模式下运行

SQL 查询 - 当我们在 where 子句中使用主键时更新/删除语句的性能

python - 在不保留旧父类的情况下用另一个类替换父类

vue.js - 从 axios 中的 response.headers 访问 Set-Cookie