2

How can one view which non-python library version is installed in dataflow? E.g.

gdal-config --version

Note: I can't use import osgeo because the problem is that currently dataflow throws module not found error (osgeo not found) when trying this: from gdal import osr or from osgeo import osr

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
samuq
  • 306
  • 6
  • 16
  • Possible duplicate of [How can I get the installed GDAL/OGR version from python?](https://stackoverflow.com/questions/3233674/how-can-i-get-the-installed-gdal-ogr-version-from-python) – Peter Wood Nov 28 '18 at 12:45
  • I can't import osgeo, because this is an issue with loading gdal to dataflow – samuq Nov 28 '18 at 14:01
  • If you can get the tarball of `osgeo`, you can use `--extra_package` parameter pointing to said tarball when submitting the job to Dataflow. (Looks like the tarball is accessible at this link https://github.com/OSGeo/gdal/releases/download/v3.4.1/gdal-3.4.1.tar.gz) – FairPluto Jan 08 '22 at 17:39

0 Answers0