[gdal-dev] gdalnumeric problems with Python 3.2 Windows 7 64 bit

Isaac Gerg isaac.gerg at gergltd.com
Mon Jul 11 14:40:56 EDT 2011


Hmmm.. I just downloaded numpy from here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/ the 64bit windows one without
MKL.

I installed it successfully and then reran the code.  Same error.  Any
ideas?

Isaac

On Mon, Jul 11, 2011 at 2:36 PM, Even Rouault
<even.rouault at mines-paris.org>wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110711/c2f73a6a/attachment.html


More information about the gdal-dev mailing list