Skip to content

Instantly share code, notes, and snippets.

@cshireman
Created July 8, 2020 15:13
Show Gist options
  • Save cshireman/7638456591970a49b10ea3e995b82b78 to your computer and use it in GitHub Desktop.
Save cshireman/7638456591970a49b10ea3e995b82b78 to your computer and use it in GitHub Desktop.
Repair a certbot installation when python errors happen.
#!/bin/bash
sudo /opt/eff.org/certbot/venv/local/bin/pip install cryptography interface zope
@cshireman
Copy link
Author

I have struggled for a long time with certbot on various systems. It works great, until it doesn't. Apparently the root cause of these problems is missing packages in the virtual python environment certbot runs in. This command worked for me, but I provide no warranty. Please check your error messages for specific package names and adjust as necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment