我安装了 Spyder3 但是当我尝试运行它时它崩溃了。错误日志如下:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/spyderlib/spyder.py", line 2331, in main
mainwindow = run_spyder(app, options, args)
File "/usr/lib/python3/dist-packages/spyderlib/spyder.py", line 2215, in run_spyder
main.setup()
File "/usr/lib/python3/dist-packages/spyderlib/spyder.py", line 734, in setup
message=_("Spyder Internal Console\n\n"
File "/usr/lib/python3/dist-packages/spyderlib/plugins/console.py", line 74, in __init__
self.find_widget.set_editor(self.shell)
File "/usr/lib/python3/dist-packages/spyderlib/widgets/findreplace.py", line 260, in set_editor
from spyderlib.qt.QtWebKit import QWebView
File "/usr/lib/python3/dist-packages/spyderlib/qt/QtWebKit.py", line 10, in <module>
from PyQt4.QtWebKit import * # analysis:ignore
ImportError: No module named 'PyQt4.QtWebKit'
我在这里看到一些类似的问题,但日志错误不同,并且建议查找无助于解决问题。