[gdal-dev] gdalnumeric problems with Python 3.2 Windows 7 64 bit
Even Rouault
even.rouault at mines-paris.org
Mon Jul 11 14:36:49 EDT 2011
Le lundi 11 juillet 2011 20:27:12, Isaac Gerg a écrit :
> Hi everyone,
> I am using GDAL 1.8.1 with Python 3.2 on Windows 7 64-bit (
> http://www.gisinternals.com/sdk/PackageList.aspx?file=release-1600-x64-gdal
> -1-8-mapserver-6-0.zip<https://exchange1.arl.psu.edu/owa/redir.aspx?C=783cf
> cdde12e4056b2ac3fd8875cc2b1&URL=http%3a%2f%2fwww.gisinternals.com%2fsdk%2fP
> ackageList.aspx%3ffile%3drelease-1600-x64-gdal-1-8-mapserver-6-0.zip>).
> (Thank you for providing this binary!)
>
> I am using the code at
> http://adventuresindevelopment.blogspot.com/2008/12/python-gdal-adding-geot
> iff-meta-data.html<https://exchange1.arl.psu.edu/owa/redir.aspx?C=783cfcdde
> 12e4056b2ac3fd8875cc2b1&URL=http%3a%2f%2fadventuresindevelopment.blogspot.c
> om%2f2008%2f12%2fpython-gdal-adding-geotiff-meta-data.html> and
> WriteArray() is giving me the following error builtins.ImportError: No
> module named gdalnumeric, File
> "C:\Python32\Lib\site-packages\osgeo\gdal.py", line 986, in WriteArray
> import gdalnumeric.
>
> Why is the import for gdalnumeric not working?
Likely because a numpy version compatible with Python 3.2 is needed when
building the GDAL python bindings (and then when using them). I believe latest
numpy releases are compatible with python 3.X
>
> Thanks in advance,
> Isaac
More information about the gdal-dev
mailing list