【问题标题】:2 Possible Package Resolutions2 可能的包解决方案
【发布时间】:2020-04-09 04:54:43
【问题描述】:

我无法连接到 Spyder 4 中的内核,当我尝试更新 qtconsole 时,出现以下错误:

Warning: 2 possible package resolutions (only showing differing packages):
  - defaults::jupyter_console-6.0.0-py37_0, defaults::prompt_toolkit-2.0.10-py_0
  - defaults::jupyter_console-5.2.0-py37_1, defaults::prompt_toolkit-3.0.2-pydone

我已尝试更新 Anaconda,并卸载 qtconsole,但由于某种原因,5.2.0 不会消失。我也尝试过使用 pip,但这也不起作用,因为它说没有名为 qtconsole 的包。有人知道如何摆脱 5.2.0 吗?

修复:我刚刚输入了conda uninstall jupyter_console 并修复了它。

【问题讨论】:

  • 很高兴知道您能够解决此问题!

标签: python package spyder qtconsole


【解决方案1】:

我也遇到了同样的问题:

conda update --all

...

Warning: 2 possible package resolutions (only showing differing packages):
  - defaults::jupyter_console-6.0.0-py36_0, defaults::prompt_toolkit-2.0.10-py_0
  - defaults::jupyter_console-5.2.0-py36_1, defaults::prompt_toolkit-3.0.2-pydone

然后我(可能已经)解决了:

conda update prompt_toolkit

jupyter_console 被降级到 5.2。

【讨论】:

    【解决方案2】:

    当我尝试更新 spyder 时,我也遇到了同样的问题。它显示了这个警告:

    警告:2 种可能的包解决方案(仅显示不同的包): - 默认值::jupyter_console-6.0.0-py36_0,默认值::prompt_toolkit-2.0.10-py_0 - 默认值::jupyter_console-5.2.0-py36_1,默认值::prompt_toolkit-3.0.2-pydone

    我试过了:conda uninstall jupyter_console,但没有用。还有其他方法吗?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-12-02
      相关资源
      最近更新 更多