I tried to run this code and it says a module called qdialog is not found.
import sys # We need sys so that we can pass argv to QApplication
import commentAnalyzer
import design
from PyQt5 import QtGui
from PyQt5.QtCore import *
from PyQt5.QtGui import QDialog, QPushButton, QLabel
from PyQt5.QtCore import SIGNAL
I tried to run this and I got:
ImportError: cannot import name 'QDialog' from 'PyQt5.QtGui'
You can adjust the import like below
QDialog is inside QtWidgets