When trying to initialize the GnuPG binding in Python, I\'m getting an error message
TypeError: __init__() got an unexpected keyword argument \'gnupghome\' <
You should refer to the gnupg documentation as it uses homedir at the place of gnupghome.
gnupg
homedir
gnupghome
Please follow the documentation it might solve your issues: gnupg python documentation