OK when I try to import the following using PyCharm
import sys
from PyQt5.QtWidgets import QtGui, QtCore
it generates this error when compiling:
ImportError: No module named 'PyQt5'
Basically I want PyQt5 in PyCharm so please provide in complete detail what should I do to install it.
Thank you in advance.
Try
PyCharm -> file -> settings -> project:'your_project' - project interpreter -> + -> install PyQt5
pip install PyQt5 doesn't work for PyCharm