应用程序 spyder 启动可能产生错误

应用程序 spyder 启动可能产生错误

我正在尝试启动蜘蛛蟒蛇并不断出现下面复制的错误。我尝试更新 python.app,安装Python 3.6.5和其他人提出了解决方案,但没有成功。

有什么建议么?

我正在尝试启动spyder 3.2.4macOS Mojave 10.14.2。

Traceback (most recent call last):
File "/Users/fagarrido/anaconda3/lib/python3.6/site-packages/qtpy/QtWebEngineWidgets.py", line 22, in 
from PyQt5.QtWebEngineWidgets import QWebEnginePage
ImportError: dlopen(/Users/fagarrido/anaconda3/lib/python3.6/site-packages/PyQt5/QtWebEngineWidgets.so, 2): Library not loaded: @rpath/libQt5WebEngineCore.5.dylib
Referenced from: /Users/fagarrido/anaconda3/lib/python3.6/site-packages/PyQt5/QtWebEngineWidgets.so
Reason: image not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/fagarrido/anaconda3/bin/spyder", line 11, in 
sys.exit(main())
File "/Users/fagarrido/anaconda3/lib/python3.6/site-packages/spyder/app/start.py", line 144, in main
from spyder.app import mainwindow
File "/Users/fagarrido/anaconda3/lib/python3.6/site-packages/spyder/app/mainwindow.py", line 92, in 
from qtpy import QtWebEngineWidgets # analysis:ignore
File "/Users/fagarrido/anaconda3/lib/python3.6/site-packages/qtpy/QtWebEngineWidgets.py", line 26, in 
from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'

相关内容