When I click on the website SSL settings, it will show:
An error occurred while the panel was running!
ModuleNotFoundError: No module named 'dns.resolver'
Traceback (most recent call last):
File "/www/server/panel/class/acme_v2.py", line 37, in
import dns.resolver
ModuleNotFoundError: No module named 'dns.resolver'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/www/server/panel/BTPanel/init.py", line 1688, in publicObject
return run_exec().run(toObject, defs, get)
File "/home/www/server/panel/BTPanel/init.py", line 1636, in run
result = getattr(toObject,get.action)(get)
File "class/panelSite.py", line 2184, in GetSSL
import acme_v2
File "/www/server/panel/class/acme_v2.py", line 40, in
import dns.resolver
ModuleNotFoundError: No module named 'dns.resolver'
My OS is debian,
after I run "btpip install dnsPython",
it shows Requirement already satisfied: dnsPython in /home/www/server/panel/pyenv/lib/python3.7/site-packages (1.16.0)
I can successfully install a python3-dnspython with "apt install python3-dnspython", but it still doesn't work in aapanel, it still reports the no module named 'dns.resolver'
What do I need to do to use ssl normally? thank you!