{"action":"opened","issue":{"url":"https://api.github.com/repos/cwebster2/pyMeteo/issues/1","labels_url":"https://api.github.com/repos/cwebster2/pyMeteo/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/cwebster2/pyMeteo/issues/1/comments","events_url":"https://api.github.com/repos/cwebster2/pyMeteo/issues/1/events","html_url":"https://github.com/cwebster2/pyMeteo/issues/1","id":88845512,"number":1,"title":"cm1_geninit fails to start with exception \"ImportError: No module named 'PyQt4'\"","user":{"login":"cwebster2","id":5762261,"avatar_url":"https://avatars.githubusercontent.com/u/5762261?v=3","gravatar_id":"","url":"https://api.github.com/users/cwebster2","html_url":"https://github.com/cwebster2","followers_url":"https://api.github.com/users/cwebster2/followers","following_url":"https://api.github.com/users/cwebster2/following{/other_user}","gists_url":"https://api.github.com/users/cwebster2/gists{/gist_id}","starred_url":"https://api.github.com/users/cwebster2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwebster2/subscriptions","organizations_url":"https://api.github.com/users/cwebster2/orgs","repos_url":"https://api.github.com/users/cwebster2/repos","events_url":"https://api.github.com/users/cwebster2/events{/privacy}","received_events_url":"https://api.github.com/users/cwebster2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-16T21:30:21Z","updated_at":"2015-06-16T21:30:21Z","closed_at":null,"body":"If starting cm1_geninit fails with a traceback complaining about Qt and the final error of:\r\n\r\nImportError: No module named 'PyQt4'\r\n\r\nthe issue is that matplotlib is selecting the qt4agg backend instead of qt5agg.  \r\n\r\nWorkarounds:\r\n\r\n1) set 'backend: qt5agg' in your matplotlibrc\r\n2) set the environment variable QT_API=qt5agg \r\n"}}