Need help disutils module with PyPy
Hi All,
I am a newbie facing problem with utilization of disutils (
http://docs.python.org/2/distutils/introduction.html) module that helps in
distributing python modules with PyPy.
*content of demo.c:*
#include
2012/11/23 Sasikanth Eda
[linux@localhost disutils_example]$ pypy setup.py build running build running build_ext building 'demo' extension cc -fPIC -Wimplicit -I/usr/lib64/pypy-1.9/include -c demo.c -o build/temp.linux-x86_64-2.7/demo.o demo.c:1:20: fatal error: Python.h: No such file or directory compilation terminated. error: command 'cc' failed with exit status 1
where as python-devel package which contains these header files is installed.
PyPy does not use python-devel. The "Python.h" header provide the same interface, but with important differences in the implementation. There should be a "pypy-devel" package that you should install as well. -- Amaury Forgeot d'Arc
participants (2)
-
Amaury Forgeot d'Arc
-
Sasikanth Eda