<div dir="ltr">Did you just recently upgraded to matplotlib v3.0? I am guessing somehow that upgrade also did some things to your QT libraries as well. You can try changing your default backend to something like TkAgg so that it doesn't try the QT based backends.<br></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 8, 2018 at 4:26 AM JIA Pei <<a href="mailto:jp4work@gmail.com">jp4work@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div><br></div><div>My code was running correctly, but now with the following ERROR message:</div><div><br></div><div><b>Cannot mix incompatible Qt library (version 0x50b01) with this library (version 0x50b02)</b></div><div><b>Aborted (core dumped)</b></div><div><br></div><div>I actually just want to use <b>matplotlib</b> as:</div><div><br></div><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:14px;line-height:19px;white-space:pre-wrap"><div><span style="color:rgb(197,134,192)">import</span> matplotlib.pyplot <span style="color:rgb(86,156,214)">as</span> plt</div><div><span style="color:rgb(197,134,192)">import</span> matplotlib.dates <span style="color:rgb(86,156,214)">as</span> md</div></div></div><div><br></div><div><br></div><div>Now, whenever I want to use matplotlib, I got the above error...</div><div><br></div><div><br></div><div>Can anybody help?</div><div><br></div><div>Cheers</div><div><br></div><div><br></div>-- <br><div dir="ltr" class="m_9005420497504002578gmail_signature"><div dir="ltr"><div><br></div><div>Pei JIA, Ph.D.</div><div><br></div><div>Email: <a href="mailto:jp4work@gmail.com" target="_blank">jp4work@gmail.com</a></div><div>cell in Canada:    +1 778-863-5816</div><div>cell in China: +86 186-8244-3503</div><div><br></div>Welcome to Vision Open<br><a href="http://www.visionopen.com" target="_blank">http://www.visionopen.com</a></div></div></div></div>
_______________________________________________<br>
Matplotlib-users mailing list<br>
<a href="mailto:Matplotlib-users@python.org" target="_blank">Matplotlib-users@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-users" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-users</a><br>
</blockquote></div>