Install python-mcrypt on Ubuntu

Christian Heimes lists at
Tue Sep 14 16:41:29 CEST 2010

Am 14.09.2010 16:26, schrieb lsolesen:
> Tried on another machine, but with this error:
> lsolesen at lsolesen-toshiba:~/Desktop/python-mcrypt-1.1$ python
> install
> running install
> running build
> running build_ext
> building 'mcrypt' extension
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -
> Wstrict-prototypes -fPIC -DVERSION="1.1" -I/usr/include/python2.6 -c
> mcrypt.c -o build/temp.linux-i686-2.6/mcrypt.o
> mcrypt.c:23:20: error: mcrypt.h: No such file or directory

You are missing the development headers for mcrypt, too.

sudo apt-get install libmcrypt-dev


More information about the Python-list mailing list