答案 0 :(得分:0)
使用anaconda PyQt5时出现相同的错误
我通过
安装了PyQt5conda install -c anaconda pyqt
结果:
>>> from PyQt5 import *
>>> from PyQt5.QtGui import *
Segmentation fault (core dumped)
解决方法:
pip install PyQt5
结果:
>>> from PyQt5 import *
>>> from PyQt5.QtGui import *
>>> from PyQt5 import QtGui
>>>