Hi All, After having installed Snow Leopard (10.6), I got some silly errors with libraries (installed via Macports) using deprecated functions Apple no longer supports, so I trashed the whole of Macports and reinstalled it. I then installed py25-matplotlib and get the following error message when trying the following
>>> from matplotlib.figure import Figure Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/lib/python2.5/site-packages/matplotlib/figure.py", line 19, in <module> from axes import Axes, SubplotBase, subplot_class_factory File "/opt/local/lib/python2.5/site-packages/matplotlib/axes.py", line 12, in <module> import matplotlib.axis as maxis File "/opt/local/lib/python2.5/site-packages/matplotlib/axis.py", line 10, in <module> import matplotlib.font_manager as font_manager File "/opt/local/lib/python2.5/site-packages/matplotlib/ font_manager.py", line 1301, in <module> _rebuild() File "/opt/local/lib/python2.5/site-packages/matplotlib/ font_manager.py", line 1292, in _rebuild fontManager = FontManager() File "/opt/local/lib/python2.5/site-packages/matplotlib/ font_manager.py", line 1010, in __init__ self.afmlist = createFontList(self.afmfiles, fontext='afm') File "/opt/local/lib/python2.5/site-packages/matplotlib/ font_manager.py", line 578, in createFontList font = afm.AFM(fh) File "/opt/local/lib/python2.5/site-packages/matplotlib/afm.py", line 294, in __init__ parse_afm(fh) File "/opt/local/lib/python2.5/site-packages/matplotlib/afm.py", line 282, in parse_afm dcmetrics_ascii, dcmetrics_name = _parse_char_metrics(fh) File "/opt/local/lib/python2.5/site-packages/matplotlib/afm.py", line 168, in _parse_char_metrics bbox = _to_list_of_ints(vals[3][2:]) File "/opt/local/lib/python2.5/site-packages/matplotlib/afm.py", line 47, in _to_list_of_ints return [_to_int(val) for val in s.split()] ValueError: invalid literal for int() with base 10: '836.364' I have no clue what is going on. Does anybody have any ideas? Regards, --Damon ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users