[mapserver-users] asking help about importing gdal librarie in apache python

Boubacar Bah bahbouba.909 at gmail.com
Sat Sep 25 08:50:01 PDT 2021


hello everyone ; i work with mapserver apache ; now i want to work with
gdal library if l  try to import the gdal this  in python  they send me an
error this  is the error message below:











*>>> from osgeo import gdalTraceback (most recent call last):  File
"<stdin>", line 1, in <module>  File
"c:\ms4w\Python\lib\site-packages\osgeo\__init__.py", line 21, in <module>
  _gdal = swig_import_helper()  File
"c:\ms4w\Python\lib\site-packages\osgeo\__init__.py", line 17, in
swig_import_helper    _mod = imp.load_module('_gdal', fp, pathname,
description)  File "c:\ms4w\Python\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)  File
"c:\ms4w\Python\lib\imp.py", line 342, in load_dynamic    return
_load(spec)ImportError: DLL load failed while importing _gdal: Le module
spécifié est introuvable.*
if someone can fix this l will please.
thank advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20210925/81348c36/attachment.html>


More information about the MapServer-users mailing list