<p dir="auto">I am using CentOS 7 and Anaconda 2. Recently, I updated the matplotlib package using <code class="notranslate">conda</code>,  if I type<br>
<code class="notranslate">import matplotlib.pyplot as plt</code>, the python interpreter will complain about</p>
<blockquote>
<p dir="auto">This application failed to start because it could not find or load the Qt platform plugin "xcb".<br>
Reinstalling the application may fix this problem</p>
</blockquote>
<p dir="auto">I tried to remove <code class="notranslate">pyqt</code> and then reinstall the package, but that does not help. Finally I have to remove the<br>
entire Anaconda install and reinstall Anaconda.</p>
<p dir="auto">Is there a better way to solve this problem?</p>
<p dir="auto">When I try to run anaconda-navigator I get the following message:</p>
<p dir="auto">This application failed to start because it could not find or load the Qt platform plugin "xcb"<br>
in "".</p>
<p dir="auto">Available platform plugins are: minimal, offscreen, xcb.</p>
<p dir="auto">Reinstalling the application may fix this problem.<br>
Aborted (core dumped)</p>
<p dir="auto">I have no clue how to fix this and googling hasn't helped at all. This is my first install of Anaconda.</p>