There is a very similar topic but solutions there didn't helped me.
I am trying to install and run kartograpgh.py tests from installation, and it breaks like this =>
C:\tests-kartograph>run_tests.py
Traceback (most recent call last):
File "C:\tests-kartograph\run_tests.py", line 1, in <module>
from kartograph import Kartograph
File "C:\Python27\lib\site-packages\kartograph.py-0.6.5-py2.7.egg\kartograph\_
_init__.py", line 2, in <module>
from kartograph import Kartograph
File "C:\Python27\lib\site-packages\kartograph.py-0.6.5-py2.7.egg\kartograph\k
artograph.py", line 8, in <module>
from map import Map
File "C:\Python27\lib\site-packages\kartograph.py-0.6.5-py2.7.egg\kartograph\m
ap.py", line 3, in <module>
from maplayer import MapLayer
File "C:\Python27\lib\site-packages\kartograph.py-0.6.5-py2.7.egg\kartograph\m
aplayer.py", line 2, in <module>
from layersource import handle_layer_source
File "C:\Python27\lib\site-packages\kartograph.py-0.6.5-py2.7.egg\kartograph\l
ayersource\__init__.py", line 11, in <module>
from shplayer import ShapefileLayer
File "C:\Python27\lib\site-packages\kartograph.py-0.6.5-py2.7.egg\kartograph\l
ayersource\shplayer.py", line 6, in <module>
from osgeo.osr import SpatialReference
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_impor
t_helper
_mod = imp.load_module('_gdal', fp, pathname, description)
ImportError: DLL load failed: No se encontr¾ el proceso especificado.
I managed to install all dependent libraries, and also kartograph.py. But as soon as I run the tests provided with kartograph.py i get the error above.
My python version is:
C:\tests-kartograph>python
Python 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
I followed the solutions provided in the similar topic I mentioned above:
I have set both environment variables, also taking care of writing it ahead in the 'path' variable. The version of the GDAL core and its python binaries I have installed are:
- gdal-19-1500-core.msi GDAL
- GDAL-1.9.2.win32-py2.7.msi
And I also tried the core 'gdal-19-1600-core.msi', since i wasn't 100% sure the GDAL core I need, does't seem trivial to me this installation.
I have tried the installation of osgeo4w, which installs GDAL by its own, but it failed, so i don't have it installed right now. i am afraid that this left some kind of registration that would make my actual installation of GDAL and its DLL not being found by the execution of kartograph.py which calls gdal modules.
Help it's really appreciated, especially tips of how to track or locate the real problem :)