Please help me installing letsencrypt on Ubuntu 16.04

Hi there

I followed all the steps from the article below to install and start SSL for my website, https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-16-04

In the step3, I entered
"./letsencrypt-auto --apache -d mydomainname"

I got an error below.

Checking for new version…
Creating virtual environment…
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/virtualenv.py”, line 2363, in
main()
File “/usr/lib/python3/dist-packages/virtualenv.py”, line 719, in main
symlink=options.symlink)
File “/usr/lib/python3/dist-packages/virtualenv.py”, line 988, in create_environment
download=download,
File “/usr/lib/python3/dist-packages/virtualenv.py”, line 918, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File “/usr/lib/python3/dist-packages/virtualenv.py”, line 812, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /home/christian/.loc…ncrypt/bin/python2.7 - setuptools pkg_resources pip wheel failed with error code 1

Any suggestions to solve the problem?
Thank you.

Hi :slight_smile:

First result on search engine with your error message setuptools pkg_resources pip wheel failed with error code 1 returns this fix.

export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"

Maybe change the language according to your preferred one.

Does it solve the problem ?

Oh… that solved the problem.
I was in the wrong page. I opened up all the cnf or/and ini files of python and set the locales but i was wrong.

Thank you very much!

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