0

In the code below, please suggest why is there this error:

TypeError: __init__() got an unexpected keyword argument 'gnupghome'

It's the same as example code in the documentation:

import gnupg
gpg = gnupg.GPG(gnupghome='/path/to/home/directory')
Peter Wood
  • 23,859
  • 5
  • 60
  • 99
Dhaval Jardosh
  • 7,151
  • 5
  • 27
  • 69

0 Answers0