ADR ADR - 11 months ago 223
Python Question

How to fix ImportError in PyQt5?

I install new version of Anaconda (Python 3.6) and now I can not import PyQt.
I reinstalled it three times and add

variable. But it did not help.

$ python
Python 3.6.0 |Anaconda 4.3.1 (64-bit)| (default, Dec 23 2016, 11:57:41) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt5.QtCore
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: DLL load failed: Could not find the specified module

Answer Source

Try to add file python3.dll from to your anaconda's directory. In my case i had there only python36.dll

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download