Have you added C:\Program Files\GDAL to the *PATH* environment variable? Best regards,
Tamas 2011/5/4 Gregory Yetman <[email protected]> > Hi, > > I'm pulling my hair out over what should be a simple problem. I'm trying to > use the pre-compiled GDAL library and bindings published here: > > > http://vbkto.dyndns.org/sdk/PackageList.aspx?file=release-1400-x64-gdal-1-8-mapserver-5-6.zip > > To implement a pure 64-bit Python and GDAL combo (I already have numpy > 64-bit working with python 2.7 64-bit). > > GDAL is working on on the system, gdalinfo --version returns: > > GDAL 1.8.0, released 2011/01/12 > > and python works fine as well. I installed the bindings with no error > messages and rebooted, but if I try and import gdal I get: > > >>> from osgeo import gdal > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "C:\Python27\Lib\site-packages\osgeo\__init__.py", line 21, in > <module> > _gdal = swig_import_helper() > File "C:\Python27\Lib\site-packages\osgeo\__init__.py", line 17, in > swig_import_helper > _mod = imp.load_module('_gdal', fp, pathname, description) > ImportError: DLL load failed: The specified module could not be found. > >>> > > I created a PYTHONPATH system variable and set it to: > > C:\Python27\Lib\site-packages;C:\Python27\Lib\site-packages\osgeo;C:\Program > Files\GDAL > > to no avail. > > Any suggestions? > > I'm trying to get the 64 bit versions working because when I try and open a > large raster as an array using > DatasetReadAsArray I get an error; suggestions on another mailing list were > that this was because the 32 bit library can only handle rasters up to 2GB > and the ones I am working with are larger than that. > > TIA, > > Greg > > > > -- > Gregory Yetman > CIESIN, Columbia University > +1-845-365-8982 > http://www.ciesin.columbia.edu > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
