From 7529cd3755c2f86b897d6d98075726ea9fb7d637 Mon Sep 17 00:00:00 2001 From: DmsAnhr Date: Tue, 25 Nov 2025 17:15:23 +0700 Subject: [PATCH] update qgis path --- qgis_bootstrap.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qgis_bootstrap.py b/qgis_bootstrap.py index 14506c1..d5dca23 100644 --- a/qgis_bootstrap.py +++ b/qgis_bootstrap.py @@ -56,6 +56,9 @@ os.environ["QT_PLUGIN_PATH"] = "/usr/lib/x86_64-linux-gnu/qt5/plugins" sys.path.append("/usr/share/qgis/python") sys.path.append("/usr/share/qgis/python/plugins") +# Python modules (from system) +sys.path.append("/usr/lib/python3/dist-packages/qgis") + from qgis.core import QgsApplication from qgis.analysis import QgsNativeAlgorithms