1、cannot import name ‘QtWebEngineWidgets’ from ‘PyQt5’
2、cannot import name ‘QtCore’ from ‘PyQt5’
3、PyCapsule_GetPointer called with incorrect name
在pip install pandasgui 出现的各种问题,都是 PyQt5 版本的问题。
卸载
pip uninstall PyQt5 PyQt5-sip PyQt5-tools PyQtWebEngine
重装
pip install PyQt5==5.12.2 PyQt5-sip==4.19.17 PyQt5-tools==5.9.0.1.2 PyQtWebEngine=5.12.1
解决完毕!