Hi everybody,

I'm getting always this error when i try to import win32api in a QGIS plugin :

ImportError: DLL load failed The specified module could not be found

I've tried in python console, same result. I've tried in python console to get 
all available modules with help('module'), this time i have a new error :


Traceback (most recent call last): The specified file could not be found

  File "C:/OSGEO4~1/apps/qgis-ltr/./python\console\console_sci.py", line 435, 
in keyPressEvent

    self.entered()

  File "C:/OSGEO4~1/apps/qgis-ltr/./python\console\console_sci.py", line 603, 
in entered

    self.runCommand(self.currentCommand())

  File "C:/OSGEO4~1/apps/qgis-ltr/./python\console\console_sci.py", line 616, 
in runCommand

    import webbrowser

  File "C:/OSGEO4~1/apps/qgis-ltr/./python\qgis\utils.py", line 784, in _import

    _import_paths[p] = _AddDllDirectory(p)

  File "C:/OSGEO4~1/apps/qgis-ltr/./python\qgis\utils.py", line 731, in 
_errcheck_zero

    raise ctypes.WinError(ctypes.get_last_error())

FileNotFoundError: [WinError 2]

For several days, i've been on the problem, without finding a solution.

Regards.

_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to