PyQt5 works but pyqt5.qtcore does not


When I import PyQt5 I get no errors but when I import PyQt5.QtCore pycharm does not make any errors just report this: Process finished with exit code -1073741819 (0xC0000005) this is because of qt. what I've done: I reinstalled pycharm and install and uninstall pyqt5 several times and I have no clue what should I do. I'm using windows 10

asked on Stack Overflow Jul 4, 2018 by pooya

2 Answers


My import statement looks a little different than what you're describing. I usually see it like this

from PyQt5 import QtGui, QtCore, QtWidgets
answered on Stack Overflow Jul 4, 2018 by buck54321

if pyqt5 also runs python idle try adding the pycharma python3 path again

answered on Stack Overflow Sep 29, 2020 by Eyyüp Ensar Özcan

User contributions licensed under CC BY-SA 3.0