Source From Here
Question
I am trying to build a shared library using a C extension file but first I have to generate the output file using the command below:
After executing the command, I get this error message:
in fact I have tried all the suggested solutions over the internet but the problem still exists ... also I have no problem with Python.h. I managed to locate the file on my machine ... anybody has faced the same problem before??
How-To
Looks like you haven't properly installed the header files and static libraries for python dev. Use your package manager to install them system-wide.
For apt (ubuntu, debian...):
For yum (centos, redhat, fedora...):
Question
I am trying to build a shared library using a C extension file but first I have to generate the output file using the command below:
After executing the command, I get this error message:
in fact I have tried all the suggested solutions over the internet but the problem still exists ... also I have no problem with Python.h. I managed to locate the file on my machine ... anybody has faced the same problem before??
How-To
Looks like you haven't properly installed the header files and static libraries for python dev. Use your package manager to install them system-wide.
For apt (ubuntu, debian...):
For yum (centos, redhat, fedora...):
沒有留言:
張貼留言