[Solved] Converting IU to py using pyuic5 – O reports an error importerror: DLL load failed while importing qtcore: the specified module cannot be found. pyuic5 -o ui_MainWindow.py ui_MainWindow.ui Error: Run pip uninstall PyQt5 Then Run pip install PyQt5 然后就能运行了