pylab doesn't find numpy on Windows

timw.google timothy.williams at nvl.army.mil
Tue Jun 13 09:24:33 EDT 2006


Hi all.

I installed matplotlib 0.87.3 under Python 2.4 on both Linux (FC3) and
Windows XP Pro. On the linux install, I can import pylab, but when I
try to do the same thing on the Windows installation, I get

>>> from pylab import *

Traceback (most recent call last):
  File "<pyshell#7>", line 1, in -toplevel-
    from pylab import *
  File "C:\Python24\Lib\site-packages\pylab.py", line 1, in -toplevel-
    from matplotlib.pylab import *
  File "C:\Python24\Lib\site-packages\matplotlib\pylab.py", line 196,
in -toplevel-
    import cm
  File "C:\Python24\Lib\site-packages\matplotlib\cm.py", line 5, in
-toplevel-
    import colors
  File "C:\Python24\Lib\site-packages\matplotlib\colors.py", line 33,
in -toplevel-
    from numerix import array, arange, take, put, Float, Int, where, \
  File "C:\Python24\Lib\site-packages\matplotlib\numerix\__init__.py",
line 60, in -toplevel-
    from Numeric import *
ImportError: No module named Numeric

I have numpy 0.9.8 installed in both places too.

Thanks for any help.




More information about the Python-list mailing list