Trying to create dns-authenticator plugin

Hey all,
i'm trying since hours to create a dns-authenticator-plugin. I've followed the examples referenced in the docs and created a package which i then installed locally via python3 install.
The package ends up in /usr/local/lib/python3.8/dist-packages/my-certbot-plugin.egg and apparently is found by certbot since it crashes when i run "certbot plugins" with a moduleNotFoundError.
If i manually try to import the module from a python3 console though, it works just fine..

Is there anything i'm missing ? Any hints ?
Would be grateful for any help with this.


I think we'd need a little bit more info to answer this. For example, the exact error message/traceback et cetera.

Furthermore, I'm not that familiar with the intricate detailed working of Python, but does certbot also run on version 3.8 of Python? For example, I have Python 3.6, 3.7 and 3.8 installed on my workstation. While every module should be available for every version, perhaps you've installed certbot a while back ago and it isn't installed for Python 3.8?


nevermind... it was something stupid... i failed to reference the authenticator correctly and was also in the wrong (or just the right) directory which causes my python3-interpreter to import correctly..
typical case of PEBKAC.. i apologize.. thanks for the help in any case. :slight_smile:

having fixed the authenticator... next stop - installer :wink:


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.