Based on the error message I guess you might have some library conflicts with PyQt, i.e. matplotlib seems to need another version than the installed one.
You could try to update matplotlib (and hope it can use the newer PyQt version) or switch to another backend 1 in matplotlib.