File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
python/plugins/processing/algs/otb/maintenance Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,17 +9,17 @@ Set OTB environment
9
9
--------------------
10
10
11
11
export PYTHONPATH=/path/to/OTB/install/lib/otb/python/:$PYTHONPATH
12
- # Environment variable for old OTB versions
12
+ # Environment variable for old OTB versions (< 5.2)
13
13
export ITK_AUTOLOAD_PATH=/path/to/OTB/install/lib/otb/applications/
14
- # Environment variable for new OTB versions
14
+ # Environment variable for new OTB versions (>= 5.2)
15
15
export OTB_APPLICATION_PATH=/path/to/OTB/install/lib/otb/applications/
16
16
# Set LD_LIBRARY_PATH
17
17
export LD_LIBRARY_PATH=/path/to/OTB/install/lib/:$LD_LIBRARY_PATH
18
18
19
19
Set QGIS environment
20
20
---------------------
21
21
export QGIS_PREFIX_PATH=/path/to/QGIS/install
22
- export PYTHONPATH=:/usr/ share/qgis/python/plugins:~/.qgis3 /python/plugins:$PYTHONPATH
22
+ export PYTHONPATH=$QGIS_PREFIX_PATH/ share/qgis/python:$QGIS_PREFIX_PATH/share/qgis /python/plugins:$PYTHONPATH
23
23
# Set LD_LIBRARY_PATH
24
24
export LD_LIBRARY_PATH=$QGIS_PREFIX_PATH/lib/:$LD_LIBRARY_PATH
25
25
# Add maintenance folder to python path
You can’t perform that action at this time.
0 commit comments