TRIQS / triqs_0.x

DEPRECATED -- This is the repository of the older versions of TRIQS
Other
11 stars 9 forks source link

ImportError: Matplotlib backend_wx and backend_wxagg require wxPython >=2.8 #68

Closed lmessio closed 11 years ago

lmessio commented 12 years ago

Hello,

After launching pytriqs and trying the example in Tour 1: Manipulations with local Green functions, I get :

from pytriqs.Base.Plot.MatplotlibInterface import oplot ...... ImportError: Matplotlib backend_wx and backend_wxagg require wxPython >=2.8

A solution is to use ipytriqs_notebook. Maybe it should be indicated before the examples on http://ipht.cea.fr/triqs/.

Thanks, Laura

mferrero commented 12 years ago

Can you try to add these lines to your ~/.matplotlib/matplotlibrc file:

backend : TkAgg interactive : True

This should use the TkAgg backend which is usually working better than wxagg. Can you check if this help in your case? Thanks!