[python error] ImportError: DLL load failed while importing QtCore: The specified program could not be found.

foreword

I wrote a small software with Pyqt6, and when I sent it to my friends, it reported an error.

report error

insert image description here
The research found that the root cause of this problem is: the operating system does not match, and the program released with a higher version of python cannot run on win7, but it can run normally on win10.

Guess you like

Origin blog.csdn.net/a_13572035650/article/details/128523535