from PyQt5 import QtCore, QtGui, QtWidgets ImportError: DLL load failed: The specified program cannot be found

thanks for reading

question

The PYQT program reports an error as soon as it is used

I have the reason

When copying other people's projects on GitHub, the python version is inconsistent

Solution

1. Need to install the patch package of KB2999226
2. Download the corresponding version of python on your computer , and then drop the dll file of python (some of them are python3) into the directory of python or anaconda

Guess you like

Origin blog.csdn.net/GodGump/article/details/128884935