【发布时间】:2020-09-12 17:45:27
【问题描述】:
Spyder 在 Manjaro KDE 中崩溃并出现以下错误:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/qtpy/__init__.py", line 204, in <module>
from PySide import __version__ as PYSIDE_VERSION # analysis:ignore
ModuleNotFoundError: No module named 'PySide'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/spyder3", line 3, in <module>
start.main()
File "/usr/lib/python3.8/site-packages/spyder/app/start.py", line 200, in main
from spyder.app import mainwindow
File "/usr/lib/python3.8/site-packages/spyder/app/mainwindow.py", line 54, in <module>
requirements.check_qt()
File "/usr/lib/python3.8/site-packages/spyder/requirements.py", line 41, in check_qt
import qtpy
File "/usr/lib/python3.8/site-packages/qtpy/__init__.py", line 210, in <module>
raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found
PyQt5 和 PySide 已安装,但我仍然收到错误消息。我已经尝试在 pamac 和 pip 中安装其他 spyder 版本,但遇到了同样的错误。
提前感谢您的帮助。
【问题讨论】:
标签: python pyqt5 spyder pyside pyside2