Awn

Python headers

Asked by WSCCGreg

After checking for python version (2.5) and platform (linux2) and python extension module directory, I receive this error message when installing:

checking for headers required to compile python extensions... not found
configure: error: could not find Python headers

Any suggestions?
I'm running Ubuntu 7.04

Greg

Question information

Language:
English Edit question
Status:
Solved
For:
Awn Edit question
Assignee:
No assignee Edit question
Solved by:
WSCCGreg
Solved:
Last query:
Last reply:
Revision history for this message
Rodrigo Donado (frezeeer) said :
#1

hi:

try:
sudo apt-get install python-dev

Revision history for this message
WSCCGreg (wsccgreg) said :
#2

That was it.

Revision history for this message
wheeldawg (iamodd) said :
#3

Now I'm having this same problem, but using that command returns a "Couldn't find package python-dev" message. Has the newer version changed python requirements?

Revision history for this message
Mark Lee (malept) said :
#4