[pycrypto] Installation on python3
campadrenalin at gmail.com
Fri Nov 15 08:05:55 PST 2013
You are missing the python3-dev package, or whatever it's called in
Fedora-Land. That contains the headers that the compiler needs to compile C
extensions for Python (specifically, Python.h). Without that header
information, you can't compile the C extensions that are part of PyCrypto
(or any other Python module that makes use of compiled extensions).
Basically, you just need to find and install that package from the Fedora
Hope that helps,
On Fri, Nov 15, 2013 at 12:10 AM, Dave Pawson <dave.pawson at gmail.com> wrote:
> setup is Fedora 19, 64 bit.
> cmd was pip-python3 install pycrypto
> 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
> 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
> error: command 'gcc' failed with exit status 1
> Any suggestions please?
> pycrypto installed fine on python 2.7
> Dave Pawson
> XSLT XSL-FO FAQ.
> Docbook FAQ.
> pycrypto mailing list
> pycrypto at lists.dlitz.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pycrypto