我在内核卡在有效脚本上时遇到了同样的问题: 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/