Perhaps `which pygobject-codegen-2.0` can help us here. It was in PATH for me.