Error in creating a cert for NGINX Ubuntu 16.04

OS: Ubuntu 16.04 X 64

HOST: Digital Ocean $5 droplet

Server: NGINX

Installation style: Let’s encrypt via cloning Git Repo

ERROR: OSError: Command /root/.local/share/letsencrypt/bin/python2.7 - setuptools pkg_resources pip wheel failed with error code 1

I tried to install and reinstall. I tried apt-get and cloning git.
I’m using webroot.

./letsencrypt-auto certonly -a webroot --webroot-path=/var/www/html -d example.com

Any idea what’s the problem? thanks.

SOLUTION: setting up the locales

Type into your terminal:

export LC_ALL="en_US.UTF-8"

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