<div dir="ltr">Hi,<div><br></div><div>I removed these directories and reinstalled with pip3. I hope it works now.<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="direction:rtl"><div style="direction:rtl">אורי</div><div style="direction:rtl"><a href="mailto:uri@speedy.net" target="_blank">uri@speedy.net</a></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 16, 2020 at 4:06 PM אורי <<a href="mailto:uri@speedy.net">uri@speedy.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I installed certbot with pip3 on an Ubuntu 18.04 server:</div><div><br></div><div># pip3 freeze|grep -i certbot<br>certbot==1.5.0<br>certbot-apache==1.5.0<br>certbot-dns-digitalocean==1.5.0</div><div><br></div><div>But when running `certbot renew` with crontab, I receive the following error message:</div><div><br></div><div>2020-06-16 14:42:01,556:DEBUG:certbot.log:Exiting abnormally:<br>Traceback (most recent call last):<br> File "/usr/bin/certbot", line 11, in <module><br> load_entry_point('certbot==0.31.0', 'console_scripts', 'certbot')()<br> File "/usr/lib/python3/dist-packages/certbot/main.py", line 1335, in main<br> plugins = plugins_disco.PluginsRegistry.find_all()<br> File "/usr/lib/python3/dist-packages/certbot/plugins/disco.py", line 206, in find_all<br> plugin_ep = PluginEntryPoint(entry_point)<br> File "/usr/lib/python3/dist-packages/certbot/plugins/disco.py", line 52, in __init__<br> self.plugin_cls = entry_point.load()<br> File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 2461, in load<br> self.require(*args, **kwargs)<br> File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 2484, in require<br> items = working_set.resolve(reqs, env, installer, extras=self.extras)<br> File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 792, in resolve<br> raise VersionConflict(dist, req).with_context(dependent_req)<br>pkg_resources.VersionConflict: (certbot 0.31.0 (/usr/lib/python3/dist-packages), Requirement.parse('certbot>=1.1.0'))<br>2020-06-16 14:42:01,556:ERROR:certbot.log:An unexpected error occurred:</div><div><br></div><div>I ran `ls -l /usr/lib/python3/dist-packages|grep certbot` and received the following output:</div><div>drwxr-xr-x 6 root root 4096 Jun 16 05:36 certbot<br>drwxr-xr-x 2 root root 4096 Jun 16 05:36 certbot-0.31.0.egg-info<br>drwxr-xr-x 5 root root 4096 Jun 16 05:36 certbot_apache<br>drwxr-xr-x 2 root root 4096 Jun 16 05:36 certbot_apache-0.31.0.egg-info<br>drwxr-xr-x 3 root root 4096 Jun 16 05:47 certbot_dns_digitalocean<br>drwxr-xr-x 2 root root 4096 Jun 16 05:47 certbot_dns_digitalocean-0.23.0.egg-info</div><div><br></div><div>What did I do wrong and how do I fix it?</div><div><br></div><div><div dir="rtl">תודה,</div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div style="direction:rtl"><div style="direction:rtl">אורי</div><div style="direction:rtl"><a href="mailto:uri@speedy.net" target="_blank">uri@speedy.net</a></div></div></div></div></div></div></div></div></div>
</blockquote></div>