Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试了 pyqt 5.5,但它显示未使用的导入...无法找到关键字 qtwebengineview 或 qt webenginewidgets 谢谢..感谢您的时间
您现在可以通过更新到 pyqt5.9 来解决此问题,
pip install PyQt5 --update
应该做的伎俩。安装后,您需要使用以下命令导入它:
from PyQt5.QtWebEngineWidgets import QWebEngineView