A
A
alekseyizmaylov2020-09-24 12:05:37
Python
alekseyizmaylov, 2020-09-24 12:05:37

Windows doesn't see installed PyQt5 module?

Good afternoon everyone,
please help a newbie to solve this problem:
I installed the PyQt5 module via pip install
at the beginning of the program imported modules:
import sys
import time
from PyQt5 import QtCore, QtGui, QtWidgets
from interface_timer_2 import *

but the program does not work when running the code from pycharm
in the console the following message appears - Process finished with exit code -1073740791 (0xC0000409)
and windows 10 gives such an error
5f6c6065c2de2128523847.jpeg
, and this is on a laptop, on a stationary computer with the same Windows 10, there is no such error,
I screwed something up here, and what not can understand....

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Volodymyr Palamar, 2020-09-24
@alekseyizmaylov

Set this variable

QT_QPA_PLATFORM_PLUGIN_PATH="C:\Python33\Lib\site-packages\PyQt5\plugins\platforms"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question