Import Python modules problem (dll load fail for GDAL)

I have Blender 2.49 installed and Python 2.6.6 on Windows XP and Windows 7. Blender recognises my Python install (“Got it!”) on start up and I can import Numpy modules from the standard Python site-packages folder.

However, when I try to import GDAL modules, I get a dll load fail error. My GDAL libraries all work when I import them from PyWin32, Idle or at the Python command line.

I have tried GDAL libraries compiled using MSVC 2010 and 2005 (and Python 2.6 in both cases). I have set the PATH variable and they all work perfectly in a standard Python Interpreter, just not in Blender.

Any suggestions?

Many thanks.


What works for me is to copy files(folder) from C:\Python26\Lib\site-packages\ to the folder where you have your blender.exe file.
namely: OSGEO folder,,,,,…

I use the same python version and OS so it should work, if not let me know…

Bigger problem for me is to let it run on Blender 2.5