[pycrypto] Problems installing pycrypto 2.5 on Ununtu Linux

Legrandin gooksankoo at hoiptorrow.mailexpire.com
Sat Mar 17 12:26:46 EDT 2012


>   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-x86_64-2.6/src/MD2.o
>    src/MD2.c:31:20: error: Python.h: No such file or directory

You need the library for building python modules:

sudo apt-get install python-dev


More information about the pycrypto mailing list