Open matthiasschaub opened 2 months ago
python3 -c 'from osgeo import gdal'
does work
Solved by import gdal first before anything else:
❯ git diff sketch_map_tool/
diff --git a/sketch_map_tool/__init__.py b/sketch_map_tool/__init__.py
index 1749c84f..528b1674 100644
--- a/sketch_map_tool/__init__.py
+++ b/sketch_map_tool/__init__.py
@@ -1,3 +1,5 @@
+from osgeo import gdal, osr # noqa
+
import logging
from datetime import timedelta
@@ -9,6 +11,7 @@ from sketch_map_tool.config import get_config_value
from sketch_map_tool.database import client_flask as db_client
from sketch_map_tool.definitions import LANGUAGES
+
__version__ = "2024.08.14.1"
# Setup logging
After upgrade my OS to fedora 40 and reinstalling the Sketch Map Tool by following the steps outlined in /docs/development-setup.md following error get thrown when I try to start the tool or run
pytest
:On my system, installed are: