Hi, I removed these directories and reinstalled with pip3. I hope it works now. אורי u...@speedy.net
On Tue, Jun 16, 2020 at 4:06 PM אורי <u...@speedy.net> wrote: > Hi, > > I installed certbot with pip3 on an Ubuntu 18.04 server: > > # pip3 freeze|grep -i certbot > certbot==1.5.0 > certbot-apache==1.5.0 > certbot-dns-digitalocean==1.5.0 > > But when running `certbot renew` with crontab, I receive the following > error message: > > 2020-06-16 14:42:01,556:DEBUG:certbot.log:Exiting abnormally: > Traceback (most recent call last): > File "/usr/bin/certbot", line 11, in <module> > load_entry_point('certbot==0.31.0', 'console_scripts', 'certbot')() > File "/usr/lib/python3/dist-packages/certbot/main.py", line 1335, in main > plugins = plugins_disco.PluginsRegistry.find_all() > File "/usr/lib/python3/dist-packages/certbot/plugins/disco.py", line > 206, in find_all > plugin_ep = PluginEntryPoint(entry_point) > File "/usr/lib/python3/dist-packages/certbot/plugins/disco.py", line 52, > in __init__ > self.plugin_cls = entry_point.load() > File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", > line 2461, in load > self.require(*args, **kwargs) > File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", > line 2484, in require > items = working_set.resolve(reqs, env, installer, extras=self.extras) > File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", > line 792, in resolve > raise VersionConflict(dist, req).with_context(dependent_req) > pkg_resources.VersionConflict: (certbot 0.31.0 > (/usr/lib/python3/dist-packages), Requirement.parse('certbot>=1.1.0')) > 2020-06-16 14:42:01,556:ERROR:certbot.log:An unexpected error occurred: > > I ran `ls -l /usr/lib/python3/dist-packages|grep certbot` and received the > following output: > drwxr-xr-x 6 root root 4096 Jun 16 05:36 certbot > drwxr-xr-x 2 root root 4096 Jun 16 05:36 certbot-0.31.0.egg-info > drwxr-xr-x 5 root root 4096 Jun 16 05:36 certbot_apache > drwxr-xr-x 2 root root 4096 Jun 16 05:36 certbot_apache-0.31.0.egg-info > drwxr-xr-x 3 root root 4096 Jun 16 05:47 certbot_dns_digitalocean > drwxr-xr-x 2 root root 4096 Jun 16 05:47 > certbot_dns_digitalocean-0.23.0.egg-info > > What did I do wrong and how do I fix it? > > תודה, > אורי > u...@speedy.net >
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il