After installing matplotlib from the Window's binaries (a process which
goes off without a hitch), I get the following error when trying to use it:
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
from pylab import *
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Python24\lib\site-packages\pylab.py", line 1, in ?
from matplotlib.pylab import *
File "C:\Python24\lib\site-packages\matplotlib\pylab.py", line 200, in ?
from axes import Axes, PolarAxes
File "C:\Python24\lib\site-packages\matplotlib\axes.py", line 15, in ?
from axis import XAxis, YAxis
File "C:\Python24\lib\site-packages\matplotlib\axis.py", line 25, in ?
from font_manager import FontProperties
File "C:\Python24\lib\site-packages\matplotlib\font_manager.py", line
990, in
?
fontManager = FontManager()
File "C:\Python24\lib\site-packages\matplotlib\font_manager.py", line
835, in
__init__
rebuild()
File "C:\Python24\lib\site-packages\matplotlib\font_manager.py", line
828, in
rebuild
self.ttfdict = createFontDict(self.ttffiles)
File "C:\Python24\lib\site-packages\matplotlib\font_manager.py", line
456, in
createFontDict
warnings.warn("Cannot handle unicode filenames %s"%fpath)
File "C:\Python24\lib\warnings.py", line 61, in warn
warn_explicit(message, category, filename, lineno, module, registry)
File "C:\Python24\lib\warnings.py", line 120, in warn_explicit
showwarning(message, category, filename, lineno)
File "C:\Python24\lib\warnings.py", line 127, in showwarning
file.write(formatwarning(message, category, filename, lineno))
File "C:\Python24\lib\warnings.py", line 133, in formatwarning
s = "%s:%s: %s: %s\n" % (filename, lineno, category.__name__, message)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in
position 55:
ordinal not in range(128)
Now, while I consider myself reasonably competant at sorting out errors
in python, I haven't a clue what this one means, let alone how to fix
it. Does anyone know what this means or how to fix it?
···
--
R. Padraic Springuel
Teaching Assistant
Department of Physics and Astronomy
University of Maine
Bennett 214
Office Hours: By Appointment only during the Summer