[pycrypto] Installation on python3

Dave Pawson dave.pawson at gmail.com
Fri Nov 15 00:10:16 PST 2013


setup is Fedora 19, 64 bit.

cmd was pip-python3 install pycrypto

result

...
creating build/temp.linux-x86_64-3.3

creating build/temp.linux-x86_64-3.3/src

gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer
-Isrc/ -I/usr/include/python3.3m -c src/MD2.c -o
build/temp.linux-x86_64-3.3/src/MD2.o

src/MD2.c:31:20: fatal error: Python.h: No such file or directory

 #include "Python.h"

                    ^

compilation terminated.

warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.

error: command 'gcc' failed with exit status 1

Any suggestions please?
pycrypto installed fine on python 2.7

regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk


More information about the pycrypto mailing list