Issue
I am currently using Python 3.6.8 and PyQt5. My program was working fine but after a Windows Update, everything stopped working.
Here is the error:
Traceback (most recent call last):
File "main.py", line 10, in <module>
from PyQt5 import QtWidgets, QtCore, QtGui
ImportError: DLL load failed: The specified module could not be found.
Solution
It looks like the environment variables have become corrupt after the update. In the simplest case, it should just be
Adding your DLL location of python, for example,
(C:\Program Files\Python35\DLLs)
in the path
in Environment variables. You can also see some others possible solutions here
Answered By - AzyCrw4282
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.