Hello,
I need to run gdal with Agisoft Metashape 1.7.3
I use ubuntu 20.04 and gdal version is 3.2.1
When I use command /agisoft/metashape-pro/python/bin/python3.8 and set neccessary paths for gdal, then I type from osgeo import gdal, it is run.
When I use command sh /agisoft/metashape-pro/metashape.sh -r main.py, with set of neccessary path I get error message ModuleNotFoundError: No module named '_gdal'
I have oldPath from python3, then import sys, then prin(sys.path)
I setting paths as oldPath = ['some/paths/from/python'] and then
for i in oldPath:
sys.path.append(i)
Thank for any help.