kzhermelik / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

_cpyrit_cuda.c:39:20: fatal error: Python.h: No such file #384

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
~/cpyrit-cuda-0.4.0# python setup.py build
The CUDA compiler and headers required to build kernel were not found. Trying 
to continue anyway...
svn: '.' is not a working copy
running build
running build_ext
Skipping rebuild of Nvidia CUDA kernel ...
Building modules...
building 'cpyrit._cpyrit_cuda' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c _cpyrit_cuda.c -o 
build/temp.linux-i686-2.6/_cpyrit_cuda.o -Wall -fno-strict-aliasing 
-DVERSION="0.4.0"
_cpyrit_cuda.c:39:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1

Original issue reported on code.google.com by azi...@gmail.com on 12 Feb 2012 at 12:37

GoogleCodeExporter commented 8 years ago
You're missing the dev version of Python. Use your package manager and search 
for 'python-dev' and it'll install all the header files Python needs to compile 
code.

Original comment by chrisrod...@gmail.com on 19 Feb 2012 at 11:33