exception error for matplotlib.use("WXAgg")

I get this error:
"Matplotlib backend_wx and backened_wxagg require wxPython>=2.8"
I have Python 26 and the most current versions of Matplotlib, basemap, and
numpy.
Anybody? Thanks
PS On educational note: what do you really need backend for? thanks

···

--
View this message in context: http://old.nabble.com/exception-error-for-matplotlib.use("WXAgg")-tp26798475p26798475.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

jenya56 wrote:

I get this error:
"Matplotlib backend_wx and backened_wxagg require wxPython>=2.8"
I have Python 26 and the most current versions of Matplotlib, basemap, and
numpy. Anybody? Thanks
PS On educational note: what do you really need backend for? thanks
  

Do you have wxpython installed?

The matplotlib backends are what display windows with plots on your screen or know how to write various file formats. In order to display a plot window, you will need to install the Python bindings for at least one of the supported GUI frameworks, (Gtk+, Qt, Tk, wxPython, or Fltk) and tell matplotlib which one to use. See here:

http://matplotlib.sourceforge.net/faq/installing_faq.html#backends

Mike

···

--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA