{"action":"created","issue":{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1068","repository_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues","labels_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1068/labels{/name}","comments_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1068/comments","events_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1068/events","html_url":"https://github.com/ContinuumIO/anaconda-issues/issues/1068","id":177570425,"number":1068,"title":"Fresh matplotlib install broken: installs qt5, but matplotlib rc patched to require qt4","user":{"login":"jorisvandenbossche","id":1020496,"avatar_url":"https://avatars.githubusercontent.com/u/1020496?v=3","gravatar_id":"","url":"https://api.github.com/users/jorisvandenbossche","html_url":"https://github.com/jorisvandenbossche","followers_url":"https://api.github.com/users/jorisvandenbossche/followers","following_url":"https://api.github.com/users/jorisvandenbossche/following{/other_user}","gists_url":"https://api.github.com/users/jorisvandenbossche/gists{/gist_id}","starred_url":"https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorisvandenbossche/subscriptions","organizations_url":"https://api.github.com/users/jorisvandenbossche/orgs","repos_url":"https://api.github.com/users/jorisvandenbossche/repos","events_url":"https://api.github.com/users/jorisvandenbossche/events{/privacy}","received_events_url":"https://api.github.com/users/jorisvandenbossche/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":34,"created_at":"2016-09-17T11:19:55Z","updated_at":"2016-10-14T13:20:14Z","closed_at":null,"body":"Related to https://github.com/ContinuumIO/anaconda-issues/issues/1065 (but opening a new issue as this is not a Qt problem but how the matplotlib rc is patched AFAIU). Also reported it at matplotlib: https://github.com/matplotlib/matplotlib/issues/7124#issuecomment-247762925\r\n\r\nWhen you do a fresh `conda install matplotlib`, this now installs qt/pyqt 5.x instead of 4.x. \r\nBut as far as I understand, anaconda patches matplotlib to default to qt4 backend. With the consequence that you get a `ImportError: No module named 'PyQt4'` error if you do not specify the backend to qt5agg manually.\r\n\r\nPossible workarounds for now (either one of the two):\r\n\r\n- pin pyqt to 4.11\r\n- set the backend manually before importing pyplot (`matplotlib.use('qt5agg')`)"},"comment":{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/comments/253796978","html_url":"https://github.com/ContinuumIO/anaconda-issues/issues/1068#issuecomment-253796978","issue_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1068","id":253796978,"user":{"login":"dmacmillan","id":5533649,"avatar_url":"https://avatars.githubusercontent.com/u/5533649?v=3","gravatar_id":"","url":"https://api.github.com/users/dmacmillan","html_url":"https://github.com/dmacmillan","followers_url":"https://api.github.com/users/dmacmillan/followers","following_url":"https://api.github.com/users/dmacmillan/following{/other_user}","gists_url":"https://api.github.com/users/dmacmillan/gists{/gist_id}","starred_url":"https://api.github.com/users/dmacmillan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmacmillan/subscriptions","organizations_url":"https://api.github.com/users/dmacmillan/orgs","repos_url":"https://api.github.com/users/dmacmillan/repos","events_url":"https://api.github.com/users/dmacmillan/events{/privacy}","received_events_url":"https://api.github.com/users/dmacmillan/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T13:20:14Z","updated_at":"2016-10-14T13:20:14Z","body":"Sigh, I don't have a package manager on my system. I need to do everything manually because of restrictions. I looked into installing this library but it requires another library (xproto) which didn't work or I couldn't figure out how to do a local install even with `./configure --prefix=/custom/path`"}}
{"actor":{"display_login":"dmacmillan"}}