12
Eventuali duplicati:
PyCrypto and GMP library not found error [Mac OS 10.6.3]pitone errore di installazione pycrypto
Sto cercando di installare pycrypto su Ubuntu, ma getta errore
[email protected]:~/Desktop/pycrypto-2.3$ sudo python setup.py build
running build
running build_py
running build_ext
warning: GMP library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Hash.MD2' extension
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.6 -c src/MD2.c -o build/temp.linux-i686-2.6/src/MD2.o
src/MD2.c:31: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
ho installato python -Dev strumenti già.
funziona su linux: se hai installato GMP ma non hai le librerie di python devi averli prima di installare pycrypto – Ross
"apt-get install python-crypto" ha funzionato per me sul mio Raspberry Pi, grazie ! – armani
Questo problema è stato risolto durante l'installazione delle dipendenze necessarie per l'aggiornamento di Ansible tramite pip: 'sudo pip installa ansible --upgrade' (uno dei quali era pycrypto) –