K
K
kuzdman2019-03-09 20:26:45
Python
kuzdman, 2019-03-09 20:26:45

Why modules from PyQt5 are not connected?

Hello!
There is an error :

Traceback (most recent call last):
  File "path/to/filename.py", line 2, in <module>
    from PyQt5.QtGui import QPixmap, QIcon
ImportError: DLL load failed: Не найден указанный модуль.

The question is why this might happen. What needs to be fixed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lina Qwerty, 2019-03-09
@Katawara

As far as I remember, PyQt5 is not part of the built-in library. Have you installed pyqt5 yourself, by the way? If not, try pip to install the library and run your code again.
Code for installing via pip:
If it doesn't work, add python 3 -m at the very beginning

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question