FZJ-IEK3-VSA / glaes

Geospatial Land Availability for Energy Systems
MIT License
51 stars 25 forks source link

Doesnt install correctly on RedHat / Rocky #16

Closed tpelser closed 4 months ago

tpelser commented 7 months ago

LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: Rocky Description: Rocky Linux release 8.8 (Green Obsidian) Release: 8.8 Codename: GreenObsidian

x86_64 GNU/Linux

Installing via conda-forge appears to work. But then in python, importing glaes fails:

import glaes as gl Traceback (most recent call last): File "", line 1, in File "/fast/home/t-pelser/micromamba/envs/glaes/lib/python3.8/site-packages/glaes/init.py", line 5, in from .core import util File "/fast/home/t-pelser/micromamba/envs/glaes/lib/python3.8/site-packages/glaes/core/util.py", line 1, in import geokit as gk File "/fast/home/t-pelser/micromamba/envs/glaes/lib/python3.8/site-packages/geokit/init.py", line 27, in import geokit.util File "/fast/home/t-pelser/micromamba/envs/glaes/lib/python3.8/site-packages/geokit/util.py", line 6, in from geokit.core.util import ( File "/fast/home/t-pelser/micromamba/envs/glaes/lib/python3.8/site-packages/geokit/core/util.py", line 7, in from osgeo import gdal, ogr, osr File "/fast/home/t-pelser/micromamba/envs/glaes/lib/python3.8/site-packages/osgeo/init.py", line 21, in _gdal = swig_import_helper() File "/fast/home/t-pelser/micromamba/envs/glaes/lib/python3.8/site-packages/osgeo/init.py", line 17, in swig_import_helper _mod = imp.load_module('_gdal', fp, pathname, description) File "/fast/home/t-pelser/micromamba/envs/glaes/lib/python3.8/imp.py", line 242, in load_module return load_dynamic(name, filename, file) File "/fast/home/t-pelser/micromamba/envs/glaes/lib/python3.8/imp.py", line 342, in load_dynamic return _load(spec) ImportError: libnsl.so.1: cannot open shared object file: No such file or directory

chrisjwin commented 4 months ago

seems to work after new tests by @tpelser

chrisjwin commented 4 months ago

closed