./certbot-auto certonly -d domainname gives error “ImportError: No module named site”

Hi everyone,

I am new to let’s Encrypt and I am just trying to install it on a google cloud instance according to this documentation https://docs.bitnami.com/aws/how-to/generate-install-lets-encrypt-ssl/ , I have just started installing Certbot when i encountered this bug

sudo ./certbot-auto

virtualenv is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded.
Creating virtual environment…
ImportError: No module named site

can anyone help me pls?

thank you in advance.

What OS version and Python version are you running?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.