Error when running letsencrypt-auto on AWS EC2 AMI


#1

I run this…
sudo ./letsencrypt-auto --debug

And get this? Any ideas?:
Updating letsencrypt and virtual environment dependencies…Command “/root/.local/share/letsencrypt/bin/python2.7 -c “import setuptools, tokenize;file=’/tmp/pip-build-QZA_IL/cffi/setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))” install --record /tmp/pip-DoYxZ8-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.local/share/letsencrypt/include/site/python2.7/cffi” failed with error code 1 in /tmp/pip-build-QZA_IL/cffi


Python Cryptography Error Message
#2

Is this happening on a t2.nano instance? cffi issues are common on low-memory systems. Try stopping all other services or add a swap disk.


#3

Actually, it was because EC2 AMI runs python 2.6


#4

Experimental support for python 2.6 exists and did work during my tests on AMI. How did you manage to solve the problem? (For future reference or people finding this post via search :smile:)


#5

I upgraded my EC2 instance to use Python 2.7 by using this guide:http://www.lecloud.net/post/61401763496/install-update-to-python-27-and-latest-pip-on