-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python complain about "This application failed to start because it could not find or load the Qt platform plugin 'xcb' " after an update of matplotlib #7597
Comments
try removing and reinstalling qt as well? What channels did you install from and what is currently in your enviroment? This probably should be reported against continuum rather than against mpl. |
@tacaswell ,yes, I have tried to remove qt and reinstall it. No effect. |
What version of matplotlib was causing the problem? |
@dopplershift, currently I am using matplotlib 1.5.1, the newest version available for Anaconda is 1.5.3. So I think it is matplotlib 1.5.3 which is causing the problem. |
Closing this as this is not an issue with mpl, but an issue with the packaging by Continuum (which we have no control over). This is probably a duplicate of ContinuumIO/anaconda-issues#1182 . If not, please raise a new issue on https://github.com/ContinuumIO/anaconda-issues/issues |
For anyone who have met the same problem. In my system, the problem is that matplotlib is using the qt dynamic library provided by the system, as indicated by ContinuumIO/anaconda-issues#1249. The solution is to remove the |
@jdhao thanks for following up. A quick |
Solved by installing matplotlib from pip instead of conda (In my case both had matplotlib version 2.0.2) |
@motikadosh Thank you! your method help me~ |
pip uninstall matplotlib
pip install matplotlib Does it for me. |
Somehow the matplot installation is generating an issue with qt. Following matplotlib/matplotlib#7597, I am trying to unset the variable.
I am using CentOS 7 and Anaconda 2. Recently, I updated the matplotlib package using
conda
, if I typeimport matplotlib.pyplot as plt
, the python interpreter will complain aboutI tried to remove
pyqt
and then reinstall the package, but that does not help. Finally I have to remove theentire Anaconda install and reinstall Anaconda.
Is there a better way to solve this problem?
The text was updated successfully, but these errors were encountered: