[GRASS-dev] libgrass_gis.7.8 not found issue

Helmut Kudrnovsky hellik at web.de
Wed Mar 3 12:59:07 PST 2021


>wxnviz.py: Could not find module
>'C:\OSGEO4~1\apps\grass\grass78\lib\libgrass_gis.7.8.dll' (or one of
>its dependencies). Try using the full path with constructor syntax.
>wxdigit.py: Could not find module
>'C:\OSGEO4~1\apps\grass\grass78\lib\libgrass_gis.7.8.dll' (or one of
>its dependencies). Try using the full path with constructor syntax.
>wxdigit.py: Could not find module
>'C:\OSGEO4~1\apps\grass\grass78\lib\libgrass_gis.7.8.dll' (or one of
>its dependencies).

[...]

>  File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\lib\gis.py",
>line 23, in <module>
>    _libs["grass_gis.7.8"] = load_library("grass_gis.7.8")
>  File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\lib\ctypes_loader.py",
>line 62, in load_library
>    return self.load(path)
>  File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\lib\ctypes_loader.py",
>line 240, in load
>    return _WindowsLibrary(path)
>  File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\lib\ctypes_loader.py",
>line 223, in __init__
>    self.cdll = ctypes.cdll.LoadLibrary(path)
>  File "C:\OSGEO4~1\apps\Python39\lib\ctypes\__init__.py", line 452,
>in LoadLibrary
>    return self._dlltype(name)
>  File "C:\OSGEO4~1\apps\Python39\lib\ctypes\__init__.py", line 374, in __init__
>    self._handle = _dlopen(self._name, mode)
>FileNotFoundError: Could not find module
>'C:\OSGEO4~1\apps\grass\grass78\lib\libgrass_gis.7.8.dll' (or one of
>its dependencies). Try using the full path with constructor syntax.
>OnInit returned false, exiting...


>I've installed GRASS 7.8.5 from new OSGeo4W installer [0],
>[0] https://download.osgeo.org/osgeo4w/testing/

see

http://download.osgeo.org/osgeo4w/testing/x86_64/release/python3/

it seems python 3.9 is used in the new OSGeo4W environment:

python3-3.9.0-7-src.tar.bz2	3517	2020-Oct-13 21:04

not sure if GRASS GIS 7.8.x is (already) supporting python 3.9

@Anna: any idea?

kind regards
Helmut



More information about the grass-dev mailing list