From: John W. <jd...@go...> - 2004-03-08 15:38:39
|
I get the error even using 0.51. Maybe my wxPython is broken. Do you know of a way I can test it? Thanks. jgw >John> I am using the latest CVS release of matplotlib from >John> sourceforge, and when I try to run the wx backend example I >John> get > >John> gyrotwystron examples # python embedding_in_wx.py Could not >John> import mathtext (build with ft2font) > >John> GThread-ERROR **: GThread system may only be initialized John> > once. aborting... Aborted > >John> The gtk backend examples work fine (although I still get the >John> mathtext warning). I have python 2.3 and wxPython 2.4.2.4 on >John> a gentoo linux system. > > Not sure why you get this - Jeremy may be working on porting mathtext to > WX. The 0.51 release is quite current, so unless you are looking for a > specific feature from CVS I suggest you use that distribution since > there are extra problems you'll encounter trying to build from CVS (see > my last response to Andrew for details). > > If you want to clear up the cannot import mathtext problem, set > BUILD_FT2FONT to True in setup.py before building. > > JDH |