Install python-mcrypt on Ubuntu

Christian Heimes lists at cheimes.de
Tue Sep 14 10:41:29 EDT 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 setup.py
> 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

Christian




More information about the Python-list mailing list