Sep-23-2018, 03:23 PM
I ran pip3 show pyqt5 and pyqt5-sip and got the same results as you.
This is the error it gives me with your exact code.
Traceback (most recent call last):
File "C:/Users/mjona/PycharmProjects/untitled/test projects/gui test.py", line 1, in <module>
from PyQt5.QtWidgets import (QApplication, QMainWindow, QMessageBox)
ModuleNotFoundError: No module named 'PyQt5'
Process finished with exit code 1
This is the error it gives me with your exact code.
Traceback (most recent call last):
File "C:/Users/mjona/PycharmProjects/untitled/test projects/gui test.py", line 1, in <module>
from PyQt5.QtWidgets import (QApplication, QMainWindow, QMessageBox)
ModuleNotFoundError: No module named 'PyQt5'
Process finished with exit code 1