[gdal-dev] Numeric package

Mateusz Loskot mateusz at loskot.net
Thu Jul 30 10:32:36 EDT 2009


Steve.Toutant at inspq.qc.ca wrote:
> 
> Hello,
> In a script I have this
>     try:
>         import numpy as Numeric
>     except ImportError:
>         import Numeric
> 
> I got this error when running the script
>     import Numeric
> ImportError: No module named Numeric
> 
> I'm on windows
> Under C:\Python26\Lib\site-packages
> I have this

Looks like NumPy is installed.
Check if you can use NumPy package from Python cmd line:

C:\> python
 >>> import numpy

or just run

python -c "import numpy"

All in windows prompt/console/command line.

BTW, on mailing lists, plain ASCII format is used. It means
that your image does most likely not appear exactly below "I have this".
It's better to not rely on any HTML/RTF formatting. Keep e-mails plain.

-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the gdal-dev mailing list