On Fri, 2 Sep 2005, Alan Isaac wrote:> matplotlib's __init__.py is apparently looking
at os.environ['HOME'], but the default XP setting
for that is '%USERPROFILE%', which then gets passed
(*without* expansion) on by get_home even though it's
expansion is needed. So import pylab does not work.
Patch to matplotlib/__init__.py is attached (unified diff).
init.py.patch|attachment (1.89 KB)