Reputation: 1682
I am trying to plot something with matplotlib but when I import it like this:
import matplotlib.pyplot as plt
in Pycharm Community 2016.1.4 using Anaconda version 3.5.1, I get this error:
from PyQt4 import QtCore
SystemError: initialization of QtCore failed without raising an exception
What is wrong here? I havent found anything via google or here on SO that is the same as my problem.
Upvotes: 6
Views: 8340
Reputation: 125
I would Suggest you do these things it will definitely work as it worked for me.
python -m pip install PyQt5
This will completely resolve this issue by re-installing it with all dependencies required.
Thanks.
Upvotes: 5