Spyder startup error: ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets' solution


Spyder is a free and open source scientific environment written in Python, designed by and for scientists, engineers, and data analysts. It features a unique combination of advanced editing, analysis, debugging, and profiling capabilities of comprehensive development tools with the data exploration, interactive execution, deep inspection, and beautiful visualization capabilities of scientific software packages.

Have the core components of a powerful IDE:

After installing Anaconda, Spyder and Jupyter are already included. But a certain time when Spyder is started, an error is reported: ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'.

Solution:

To install WebEngine separately, the installation command is:

pip install PyQtWebEngine -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

Then you can enter Spyder normally.


Guess you like

Origin blog.csdn.net/fyfugoyfa/article/details/122944567