On 02/17/2011 06:41 PM, Jeffrey Spencer wrote: > Essentially, I am having the same problem but installed from SVN. How do > you install extra backends? I haven't seen where to do this. Although I > want the TKAgg but I have installed TK/TCL.
Do you have the python-tk package installed? If not, then after installing it you will need to rebuild mpl, since there is an extension module for tk. > > I am running 10.04 Ubuntu. > > Cheers, > Jeff > > On 02/18/2011 03:37 PM, Forest Yang wrote: >> Hi, >> >> I am using Ubuntu 10.10, and installed matplotlib from the >> repository. But when running an example file embedding plot in Qt4 I >> got the following errors: >> >> >> [11:34 PM] $ python embedding_in_qt4.py >> Traceback (most recent call last): >> File "embedding_in_qt4.py", line 16, in<module> >> from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg >> as FigureCanvas >> ImportError: No module named backends.backend_qt4agg >> >> >> Any extra steps for installing Qt4Agg backend ? Try installing the python-qt4 package. There is no extension code for the qt* backends, so I suspect this is all you need. Eric >> >> Thanks ! >> >> Best regards, >> Forest >> ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users