pylab doesn't find numpy on Windows

Alexandre Fayolle alf at merlin.fayauffre.org
Tue Jun 13 15:30:36 CEST 2006


Le 13-06-2006, timw.google <timothy.williams at nvl.army.mil> nous disait:
> 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 *
>
<snip>
> ImportError: No module named Numeric
>
> I have numpy 0.9.8 installed in both places too.

it is trying to load Numeric python. You need to configure matplotlib to
use numpy by saying

numerix      : numpy 

in the matplotlibrc file.


-- 
Alexandre Fayolle                              LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Python et calcul scientifique:           http://www.logilab.fr/science



More information about the Python-list mailing list