ImportError: Matplotlib backend_wx and backend_wxagg require wxPython >=2.8.12
See original GitHub issueThis is another potential issue when in macOS that can be handled changing matplotlib settings in ~/.matplotlib/matplotlibrc: with
backend : MacOSX
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
python - wxPython import error - Stack Overflow
When trying to use matlablib, it always complains "Matplotlib backend_wx and backend_wxagg require wxPython >=2.8".Pretty sure that I'm using wxPython 2.8.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@f90 by the way there is another trick!!! You can even define your local
matplotlibrc. I have just realized this (I was not aware this from the docs actually), because if you run Jupyter, and this is normally outside virtualenv, you needMacOSXbackend 👯♂️So I run in VSCode Juypyter but I had to overwrite locally this file 🗡 just commited this change!
Thanks… Thats’ awkward, so I will link to this info from the README for future people to avoid confusion