Closed
Description
./letsencrypt-auto --help
python is already the newest version (2.7.11-1).
python-dev is already the newest version (2.7.11-1).
dialog is already the newest version (1.3-20160209-1).
python-virtualenv is already the newest version (15.0.1+ds-3).
virtualenv is already the newest version (15.0.1+ds-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Checking for new version...
Creating virtual environment...
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/virtualenv.py", line 2363, in <module>
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/administrator/...ncrypt/bin/python2.7 - setuptools pkg_resources pip wheel failed with error code 1
OS Ubuntu 16.04 LTS
Clean os
Activity
vincentcox commentedon Apr 23, 2016
same issue!
vincentcox commentedon Apr 23, 2016
Some details: nginx installed and also php7.0 fpm, for the rest clean install
vincentcox commentedon Apr 23, 2016
I solved it: just use "apt-get install letsencrypt". Super lame, but it works now
joost-van-weenen commentedon Apr 30, 2016
Same issue on ubuntu 16.04 with the client from git
asibin commentedon May 1, 2016
I managed to get it working on Ubuntu 16.04 Server LTS. I deleted the apt-get installed setuptools, reinstalled with pip and it worked. If you get setuptools complaining about the locale, make sure you have locales set.
kfchoong commentedon May 3, 2016
I resolved the issue by setting the locale variables. Without these, the script seems to break.
export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
benbonnet commentedon Jun 8, 2016
For those who might have a look at it, and compared to other configuration tasks to be initially done on ubuntu, configuring locales seems opaque. Which guide could one recommend ?
evgenity commentedon Aug 5, 2016
This helped me:
chani commentedon Nov 29, 2016
same issue,
apt-get install letsencrypt
does not help to resolve that. To resolve that issue I had to:then
... then ...
now it works. So I assume "setuptools" in Ubuntu 16.04 LTS are just too old.
StavrosNicolaou commentedon Jan 27, 2017
@chani thank you :)
31 remaining items