我在让spyder安装到Manjaro上时遇到问题。通过pip install spyder
、pip install spyder=4.1.2
或pamac install spyder
调用spyder
时,我会收到以下错误消息:
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/spyder", line 8, in <module>
start.main()
File "/home/.../.local/lib/python3.8/site-packages/spyder/app/start.py", line 200, in main
from spyder.app import mainwindow
File "/home/.../.local/lib/python3.8/site-packages/spyder/app/mainwindow.py", line 53, in <module>
requirements.check_qt()
File "/home/.../.local/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
出于某种原因,spyder似乎需要PySide
。然而,该软件包似乎很旧(当前为PySide2
)
非常感谢,非常感谢您的帮助
目前没有回答
相关问题 更多 >
编程相关推荐