It sounds like it is not finding the appropriate fonts. Have you tried installing (in C:\Windows\Fonts) all of the ttf files included with matplotlib?
If that's not it, can you provide a complete traceback with the exact error message? Mike sordnay wrote: > hello, > I have written a program which uses matplotlib to plot some figures, it uses > mathtext to add some special chars (basically just the square on > acceleration units), and the program works just fine, but using py2exe to > build a windows executable, it fails somewhere drawing that square symbol. > The error the program yields is something like "unable to convert string to > unicode". > Has anyone experienced this kind of problem with mathtext and py2exe or has > any clue what is needed to be included at the py2exe setup.py to fix it? > I know this is not the best place for an answer, but I couldn't find where > to get help on py2exe site :-/ so if anyone could help... > Thanks a lot. > > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users