I test it with "~/src/guix/pre-inst-env guix environment --ad-hoc python python-gdal", and in it I can run "python3 swig/python/samples/rel.py" etc. Does it work for you, Arne? If so, I'll push my patch, thank you!