S
S
Sergey2017-08-05 00:55:59
Python
Sergey, 2017-08-05 00:55:59

How to connect PyQt5 module?

New to python!
I downloaded the PyQt5 module, uploaded it to the python folder I run
one of the examples I get a Traceback
error
(most recent call last):
File "C:/Python34/PyQt5/examples/dialogs/standarddialogs.py", line 47, in
from PyQt5.QtCore import QDir, Qt
ImportError: No module named PyQt5.QtCore
Added
'C:\\Python34\\PyQt5' to sys.path and so
C:\\Python34\\PyQt5\\sip'
Still an error!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andy_U, 2017-08-05
@Andy_U

Packages and modules are 99.9% installed/updated with pip. Those. or
if from the Internet, or if the whl file is already downloaded, then simply:
pip install PyQt5.whl

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question