Hello all,

I'm trying to adapt a python module in order for it to be run outside of GRASS.
I followed the instructions from the wiki and lib/python/script/setup.py

gsetup.init() run without error and I can list maps like in the example.

However, when I try to import the temporal module, I receive this error:

import grass.temporal as tgis
  File "/usr/lib/grass70/etc/python/grass/temporal/__init__.py", line
1, in <module>
    from core import *
  File "/usr/lib/grass70/etc/python/grass/temporal/core.py", line 38,
in <module>
    from c_libraries_interface import *
  File "/usr/lib/grass70/etc/python/grass/temporal/c_libraries_interface.py",
line 19, in <module>
    import grass.lib.gis as libgis
  File "/usr/lib/grass70/etc/python/grass/lib/gis.py", line 23, in <module>
    _libs["grass_gis.7.0.4"] = load_library("grass_gis.7.0.4")
  File "/usr/lib/grass70/etc/python/grass/lib/ctypes_loader.py", line
55, in load_library
    return self.load(path)
  File "/usr/lib/grass70/etc/python/grass/lib/ctypes_loader.py", line
71, in load
    raise ImportError,e
ImportError: libgrass_datetime.7.0.4.so: cannot open shared object
file: No such file or directory

Did I forgot to set-up something or this is a bug?

grass-dev mailing list

Reply via email to