在两个位置都实现了类RunLoopModeTracker。无法打开Spyder

时间:2019-08-14 23:58:57

标签: anaconda spyder

我不知道自己在做什么。

MacOS版本10.13.4和Python 3.7.3

我已经安装了anaconda并使用了spyder fine,但是我认为我应该使用命令pip install spyder-terminal安装spyder-terminal,因为我想这就是显示终端的方式吗?无论如何,现在当我尝试打开spyder时,会出现此错误:

objc[1685]: Class RunLoopModeTracker is implemented in both /anaconda3/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (0x117d8e270) and /anaconda3/lib/libQt5Core.5.dylib (0x11fabda80). One of the two will be used. Which one is undefined.
Traceback (most recent call last):
  File "/anaconda3/bin/spyder", line 11, in <module>
    sys.exit(main())
  File "/anaconda3/lib/python3.7/site-packages/spyder/app/start.py", line 186, in main
    from spyder.app import mainwindow
  File "/anaconda3/lib/python3.7/site-packages/spyder/app/mainwindow.py", line 90, in <module>
    from qtpy import QtWebEngineWidgets  # analysis:ignore
  File "/anaconda3/lib/python3.7/site-packages/qtpy/QtWebEngineWidgets.py", line 22, in <module>
    from PyQt5.QtWebEngineWidgets import QWebEnginePage
ValueError: PyCapsule_GetPointer called with incorrect name

我尝试卸载anaconda,然后重新安装/更新并重新安装spyder,但是我仍然无法打开。有人知道如何解决这个问题吗?

0 个答案:

没有答案