update qgis path
This commit is contained in:
parent
58abd1a74a
commit
7529cd3755
|
|
@ -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")
|
||||||
sys.path.append("/usr/share/qgis/python/plugins")
|
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.core import QgsApplication
|
||||||
from qgis.analysis import QgsNativeAlgorithms
|
from qgis.analysis import QgsNativeAlgorithms
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user