python - PyQt5 failing import of QtGui, QtCore and so on -


[os] - windows 7 64bit

[version] - python 3.4 - pyqt5.4.1

import sys pyqt5.qtwidgets import qtgui, qtcore 

i cannot import qtgui, qtcore in qtwidgets. have qtgui.pyd , qtcore.pyd, can't import them... besides, have qapplication it's not imported. did install python3.4 wrongly?

if have idea fix this, please answer me. think there no right answer problem me yet.

your import statement incorrect pyqt5:

import sys pyqt5 import qtgui, qtcore 

if want import qapplication:

from pyqt5.qtwidgets import qapplication 

pyqt4_differences


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -