pardon me for reviving a years old discussion, but i'm facing the same problem once again. i have updated trezor support, and i wanted to test generating a new gpg key: $ trezor-gpg init "foobar " leading to: OSError: Cannot find '.trezor-gpg-gpg-agent' in $PATH upstream relies on sys.argv[0] in a non-trivial way: https://github.com/romanz/trezor-agent/blob/338a075ed500f210a707cb3adf90104602e35c48/libagent/gpg/__init__.py#L124 is there any chance to revive this effort? original discussion: https://lists.gnu.org/archive/html/guix-devel/2017-11/msg00017.html shall i open an issue? for this specific problem, or the wider situation discussed in the mailing list thread? - attila PGP: 5D5F 45C7 DFCD 0A39