Skip to content

Instantly share code, notes, and snippets.

@mdsumner
Created June 27, 2025 00:12
Show Gist options
  • Save mdsumner/d74f0f0a016db145f616b0d12aec7e08 to your computer and use it in GitHub Desktop.
Save mdsumner/d74f0f0a016db145f616b0d12aec7e08 to your computer and use it in GitHub Desktop.
pytest autotest/gcore/geoloc.py::test_geoloc_normalize_longitude

ImportError while loading conftest '/perm_storage/home/mdsumner/gdal/autotest/conftest.py'.
autotest/conftest.py:7: in <module>
    from osgeo import gdal, ogr, osr
/usr/lib/python3/dist-packages/osgeo/__init__.py:35: in <module>
    _gdal = swig_import_helper()
/usr/lib/python3/dist-packages/osgeo/__init__.py:32: in swig_import_helper
    return importlib.import_module('_gdal')
E   ModuleNotFoundError: No module named '_gdal'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment