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

标签 python anaconda spyder

我在内核卡在有效脚本上时遇到了同样的问题: 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 后我没有得到任何与内核版本相关的错误。

关于python - Spyder 5.1.5 内核挂起,5.2.1 无法与 conda 一起使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70627860/

相关文章:

python - 如何在运行 python3.5 的 anaconda 上安装 xgboost

python - 在ubuntu中打开spyder

python - 使用 tqdm 显示进度条时出现错误“未检测到 Widget Javascript ...

python - 如何在python中转换以下字符串?

python - 如果条件满足,Pandas Dataframe 找到第一个出现的位置

python - 无法为链接提供 href,错误 : "Reverse for ' foo' not found"

python - 用 C、Clojure、Python、Ruby、Scala 和其他语言解释基准

python - AttributeError : dlsym(RTLD_DEFAULT, AbsoluteToNanoseconds):找不到符号

python - 如何在music21中设置应用程序路径

python - 如何在 anaconda spyder 中更改 python 版本