From: Ryan K. <rya...@co...> - 2005-08-25 14:48:44
|
I have an interesting problem importing pylab. Most of my work is stored on a FAT32 partition so I can access it from windows or linux. If I run python from a dos command open on that partition I get: E:\pythonscripts>python Enthought Edition build 1069 Python 2.3.5 (#62, Mar 22 2005, 21:53:13) [MSC v.1200 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import pylab Traceback (most recent call last): File "<stdin>", line 1, in ? File "C:\Python23\Lib\site-packages\pylab.py", line 1, in ? from matplotlib.pylab import * File "C:\Python23\Lib\site-packages\matplotlib\pylab.py", line 199, in ? import backends File "C:\Python23\Lib\site-packages\matplotlib\backends\__init__.py", line 15, in ? raise ValueError, 'Unrecognized backend %s' % backend ValueError: Unrecognized backend WxAgg >>> But if I do the same things from a dos prompt open on the C partition it works fine: C:\Documents and Settings\Ryan Krauss>python Enthought Edition build 1069 Python 2.3.5 (#62, Mar 22 2005, 21:53:13) [MSC v.1200 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import pylab >>> How can this be fixed? Thanks, Ryan |