An unexpected error occurred:AttributeError: 'module' object has no attribute 'TLSSNI01'

My domain is: all domains

I ran this command: certbot

It produced this output: An unexpected error occurred:
AttributeError: ‘module’ object has no attribute ‘TLSSNI01’
Please see the logfile ‘/tmp/tmpb74iPk/log’ for more details.

My web server is (include version): Apache 2.4.6

The operating system my web server runs on is (include version): CentOS 7.7.1908

My hosting provider, if applicable, is: OVH

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Webmin 1.940

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): cannot get version output, only error but package is latest found.

In log file :
2020-01-14 09:18:15,204:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File “/bin/certbot”, line 9, in
load_entry_point(‘certbot==1.0.0’, ‘console_scripts’, ‘certbot’)()
File “/usr/lib/python2.7/site-packages/certbot/main.py”, line 14, in main
return internal_main.main(cli_args)
File “/usr/lib/python2.7/site-packages/certbot/_internal/main.py”, line 1320, in main
plugins = plugins_disco.PluginsRegistry.find_all()
File “/usr/lib/python2.7/site-packages/certbot/_internal/plugins/disco.py”, line 208, in find_all
plugin_ep = PluginEntryPoint(entry_point)
File “/usr/lib/python2.7/site-packages/certbot/_internal/plugins/disco.py”, line 50, in init
self.plugin_cls = entry_point.load()
File “/usr/lib/python2.7/site-packages/pkg_resources.py”, line 2260, in load
entry = import(self.module_name, globals(),globals(), [‘name’])
File “build/bdist.linux-x86_64/egg/certbot_apache/entrypoint.py”, line 4, in
File “build/bdist.linux-x86_64/egg/certbot_apache/configurator.py”, line 32, in
File “build/bdist.linux-x86_64/egg/certbot_apache/http_01.py”, line 13, in
File “/usr/lib/python2.7/site-packages/certbot/plugins/common.py”, line 445, in getattr
return getattr(self._module, attr)
AttributeError: ‘module’ object has no attribute ‘TLSSNI01’
2020-01-14 09:18:15,204:ERROR:certbot._internal.log:An unexpected error occurred: