matplotlib not working on Enthought edition 0.9.2?


I am new to python and want to check out matplotlib on Windows XP. I followed the recommondation in the installation instruction and installed the latest version of the Enthought edition of python (enthon-0.9.2). Then I installed matplotlib-0.87.1.win32-py2.3. When I try to import pylab, I get the error message shown below. I also tried the earlier version of matplotlib (matplotlib-0.87.win32-py2.3) with the same result.

I will be very greatful for any hints on how to get matplotlib working on Windows XP. I don’t mind redoing the complete installation in another way if it solves the problem.

Best regards

Erik Meyer


Python 2.3.5 - Enthought Edition 0.9.2 (#62, May 11 2005, 20:02:58) [MSC v.1200 32 bit (Intel)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.

from pylab import *
Traceback (most recent call last):
File “”, line 1, in ?
File “C:\Python23\Lib\site-packages\”, line 1, in ?
from matplotlib.pylab import *
File “C:\Python23\Lib\site-packages\matplotlib\”, line 200, in ?
from axes import Axes, PolarAxes
File “C:\Python23\Lib\site-packages\matplotlib\”, line 15, in ?
from axis import XAxis, YAxis
File “C:\Python23\Lib\site-packages\matplotlib\”, line 25, in ?
from font_manager import FontProperties
File “C:\Python23\Lib\site-packages\matplotlib\”, line 990, in ?
fontManager = FontManager()
File “C:\Python23\Lib\site-packages\matplotlib\”, line 835, in init
File “C:\Python23\Lib\site-packages\matplotlib\”, line 828, in rebuild
self.ttfdict = createFontDict(self.ttffiles)
File “C:\Python23\Lib\site-packages\matplotlib\”, line 456, in createFontDict
warnings.warn(“Cannot handle unicode filenames %s”%fpath)
File “C:\Python23\lib\”, line 57, in warn
warn_explicit(message, category, filename, lineno, module, registry)
File “C:\Python23\lib\”, line 116, in warn_explicit
showwarning(message, category, filename, lineno)
File “C:\Python23\lib\”, line 123, in showwarning
file.write(formatwarning(message, category, filename, lineno))
File “C:\Python23\lib\”, line 129, in formatwarning
s = “%s:%s: %s: %s\n” % (filename, lineno,, message)
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xe6’ in position 47: ordinal not in range(128)