-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Updated matplotlib 1.5.3 broken in default Anaconda channel #7124
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
Comments
There is a recent issue about the update of pyqt on the anaconda issue tracker where I also commented: ContinuumIO/anaconda-issues#1065 |
Please take a look at the issue #6567. Looks like you have the same problem. |
Since it is happening both on travis (and it started to fail on travis after an update of matplotlib and qt) as locally in a fresh conda env (and I don't think I have a custom .matplotlibrc file), I am not sure this is the same issue |
But indeed, specifying manually the backend, then importing does work:
Going from this comment #6559 (comment), I assume this is an error in the matplotlib recipe in the default anaconda channel to fix the default backend to qt4 while installing qt5. |
I more specifically reported this as ContinuumIO/anaconda-issues#1068. Will close here as it is indeed (as expected) not a matplotlib issue |
According to the conda's patches (rctmp_pyside.patch, cfg_qt4agg.patch) it is. |
Our pandas tests on travis started to fail last night on python 3.5 (eg https://travis-ci.org/pydata/pandas/jobs/160584906) with errors in our plotting tests (among others: "ImportError: No module named 'PyQt4'").
Compared to the previous build that passed, I noticed the difference in matplotlib and pyqt versions (matplotlib 1.5.1 -> 1.5.3, pyqt-4.11.4 -> pyqt-5.6.0, qt-4.8.7 -> qt-5.6.0). I could also reproduce this locally with
conda create -n test-mpl python=3.5 matplotlib -c defaults
, then importing matplotlib.pyplot gives the above error.I am not sure if this has anything to do with matplotlib itself, or rather a broken build in anaconda, but reporting it here to be sure.
The text was updated successfully, but these errors were encountered: