RedSunCMX / pythonxy

Automatically exported from code.google.com/p/pythonxy
0 stars 0 forks source link

GDAL: HDF5 Can't load requested DLL #669

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I installed for all users: the full Python(x,y)-2.7.3.1.exe on Windows 7 
(64bits).
All parameters where the defaults and install was done as administrator.

I uninstalled a previous PythonXY distribution (2.7.3.1) using the windows 
control panel.

I started to encounter a bug with my python scripts when calling them in the 
windows command terminal (>>python myscript.py inputs). This did not use to 
happen before...

Running the Python script line by line in the python terminal does not prompt 
any error message.

I get the following message on a pop up window (pops up 6 times): 
"The procedure entry point H5Eauto_is_v2 could not be located in the dynamic 
link library hdf5dll.dll"

And the following errors on the command terminal:

> ERROR 1: Can't load requested DLL: 
C:\Python27\Lib\site-packages\osgeo\gdalplugins\gdal_BAG.dll
> 127: The specified procedure could not be found.

> ERROR 1: Can't load requested DLL: 
C:\Python27\Lib\site-packages\osgeo\gdalplugins\gdal_BAG.dll
> 127: The specified procedure could not be found.

> ERROR 1: Can't load requested DLL: 
C:\Python27\Lib\site-packages\osgeo\gdalplugins\gdal_HDF5.dll
> 127: The specified procedure could not be found.

> ERROR 1: Can't load requested DLL: 
C:\Python27\Lib\site-packages\osgeo\gdalplugins\gdal_HDF5.dll
> 127: The specified procedure could not be found.

> ERROR 1: Can't load requested DLL: 
C:\Python27\Lib\site-packages\osgeo\gdalplugins\gdal_HDF5Image.dll
> 127: The specified procedure could not be found.

> ERROR 1: Can't load requested DLL: 
C:\Python27\Lib\site-packages\osgeo\gdalplugins\gdal_HDF5Image.dll
> 127: The specified procedure could not be found.

All called dlls are present in the specified directory.

Any idea about where the problem is coming from? 

Thank you 

Original issue reported on code.google.com by thomas.c...@gmail.com on 7 Jun 2013 at 10:18

GoogleCodeExporter commented 9 years ago
check your PATH for hdf5dll.dll instances.

Original comment by grizzly.nyo on 14 Jun 2013 at 1:49

GoogleCodeExporter commented 9 years ago
The same problem. All PATH for hdf5dll.dll is correct.

Original comment by victorm...@gmail.com on 24 Jul 2013 at 6:22

GoogleCodeExporter commented 9 years ago
I've got the same problem. I've installed python 2.7 (64 bit) in a different 
directory, yet if I import gdal it is looking for the dll's in the old 
directory.
How do I fix the PATH?

Original comment by Hannes.B...@gmail.com on 16 Oct 2013 at 4:17

GoogleCodeExporter commented 9 years ago

Original comment by grizzly.nyo on 2 Nov 2013 at 3:33