root@Sn0x:~# cd /usr/local/psa/var/modules/letsencrypt/venv/bin
root@Sn0x:/usr/local/psa/var/modules/letsencrypt/venv/bin# ./pip install --upgrade cryptography
Collecting cryptography
Using cached cryptography-1.3.tar.gz
Requirement already up-to-date: idna>=2.0 in /opt/psa/var/modules/letsencrypt/venv.awDqz/lib/python2.7/site-packages (from cryptography)
Requirement already up-to-date: pyasn1>=0.1.8 in /opt/psa/var/modules/letsencrypt/venv.awDqz/lib/python2.7/site-packages (from cryptography)
Requirement already up-to-date: six>=1.4.1 in /opt/psa/var/modules/letsencrypt/venv.awDqz/lib/python2.7/site-packages (from cryptography)
Requirement already up-to-date: setuptools>=11.3 in /opt/psa/var/modules/letsencrypt/venv.awDqz/lib/python2.7/site-packages (from cryptography)
Requirement already up-to-date: enum34 in /opt/psa/var/modules/letsencrypt/venv.awDqz/lib/python2.7/site-packages (from cryptography)
Requirement already up-to-date: ipaddress in /opt/psa/var/modules/letsencrypt/venv.awDqz/lib/python2.7/site-packages (from cryptography)
Collecting cffi>=1.4.1 (from cryptography)
Using cached cffi-1.5.2.tar.gz
Requirement already up-to-date: pycparser in /opt/psa/var/modules/letsencrypt/venv.awDqz/lib/python2.7/site-packages (from cffi>=1.4.1->cryptography)
Installing collected packages: cffi, cryptography
Found existing installation: cffi 1.3.0
Uninstalling cffi-1.3.0:
Successfully uninstalled cffi-1.3.0
Running setup.py install for cffi ... error
Complete output from command /usr/local/psa/var/modules/letsencrypt/venv.awDqz/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-dTp3ZJ/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-Ihy25V-record/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/psa/var/modules/letsencrypt/venv.awDqz/include/site/python2.7/cffi:
running install
running build
running build_py
creating build
creating build/lib.linux-i686-2.7
creating build/lib.linux-i686-2.7/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-i686-2.7/cffi
copying cffi/model.py -> build/lib.linux-i686-2.7/cffi
copying cffi/gc_weakref.py -> build/lib.linux-i686-2.7/cffi
copying cffi/lock.py -> build/lib.linux-i686-2.7/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-i686-2.7/cffi
copying cffi/commontypes.py -> build/lib.linux-i686-2.7/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-i686-2.7/cffi
copying cffi/api.py -> build/lib.linux-i686-2.7/cffi
copying cffi/cparser.py -> build/lib.linux-i686-2.7/cffi
copying cffi/verifier.py -> build/lib.linux-i686-2.7/cffi
copying cffi/ffiplatform.py -> build/lib.linux-i686-2.7/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-i686-2.7/cffi
copying cffi/vengine_gen.py -> build/lib.linux-i686-2.7/cffi
copying cffi/recompiler.py -> build/lib.linux-i686-2.7/cffi
copying cffi/init.py -> build/lib.linux-i686-2.7/cffi
copying cffi/_cffi_include.h -> build/lib.linux-i686-2.7/cffi
copying cffi/parse_c_type.h -> build/lib.linux-i686-2.7/cffi
copying cffi/_embedding.h -> build/lib.linux-i686-2.7/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-i686-2.7
creating build/temp.linux-i686-2.7/c
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DUSE__THREAD -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-i686-2.7/c/_cffi_backend.o
c/_cffi_backend.c:2:20: fatal error: Python.h: Datei oder Verzeichnis nicht gefunden
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Rolling back uninstall of cffi
Command "/usr/local/psa/var/modules/letsencrypt/venv.awDqz/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-dTp3ZJ/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-Ihy25V-record/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/psa/var/modules/letsencrypt/venv.awDqz/include/site/python2.7/cffi" failed with error code 1 in /tmp/pip-build-dTp3ZJ/cffi/
Got this Error with you Fix