-1

EveryTime i execute this code it gives me ModuleNotFoundError.I am using spyder IDE.

ModuleNotFoundError: No module named 'PyQt5.QTCore'

I tried using updating conda.But didn't work.How to fix this module?

from PyQt5.QtWidgets import QPushButton,QMainWindow,QApplication
import sys
from PyQt5.QTCore import QRect
from PyQt5 import QtGui

1 Answer 1

0

Try QtCore, with a little t :-) .

0

Not the answer you're looking for? Browse other questions tagged or ask your own question.