When i run certbot renew, it produced this output:
An unexpected error occurred:
ImportError: No module named entrypoint
Please see the logfile ‘/tmp/tmpzJ7Wdm/log’ for more details.
The log file contains:
2020-03-04 11:03:26,599: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’])
ImportError: No module named entrypoint
2020-03-04 11:03:26,599:ERROR:certbot._internal.log:An unexpected error occurred:
My operating system is CentOS 7.
¿How I resolve this problem?
Thanks in advance.