2016-06-08 12 views
1

Bei der Installation von Review Board fand ich ein Kryptographie-Modul benötigt. Während der Installation, dass mit dem folgenden Befehl ein:Review Board Installation von Kryptographie-Modul

sudo easy_install --upgrade cryptography 

ich die folgende Fehlermeldung erhalten:

Searching for cryptography 
Reading https://pypi.python.org/simple/cryptography/ 
Best match: cryptography 1.4 
Downloading https://pypi.python.org/packages/a9/5b/a383b3a778609fe8177bd51307b5ebeee369b353550675353f46cb99c6f0/cryptography-1.4. 
tar.gz#md5=a9763e3831cc7cdb402c028fac1ceb39 
Processing cryptography-1.4.tar.gz 
Writing /tmp/easy_install-psOI1n/cryptography-1.4/setup.cfg 
Running cryptography-1.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-psOI1n/cryptography-1.4/egg-dist-tmp-EEG_6Z 
c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory 
#include <ffi.h> 
       ^
compilation terminated. 
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 

Wie kann ich das Problem beheben?

Antwort

2

installieren libffi:

sudo apt-get install libffi-dev 
+0

Bitte beachte, dass ich auch die folgende erforderlich laufen, die mit Hilfe von Google leicht bestimmt: sudo apt-get install libssl-dev – ragerdl

+0

Vielen Dank, ihre Hilfe wirklich bekommen aktualisiert sollten mit diesem –