[Tutor] py-editdist

ALAN GAULD alan.gauld at btinternet.com
Mon Apr 20 20:13:13 CEST 2009

I mean you need a source installation not a binary one, it is looking for python.h 
which is one of the C header files in the Python source code.

 Alan Gauld
Author of the Learn To Program website

From: Emad Nawfal (عماد نوفل) <emadnawfal at gmail.com>
To: Alan Gauld <alan.gauld at btinternet.com>
Cc: tutor at python.org
Sent: Monday, 20 April, 2009 6:55:31 PM
Subject: Re: [Tutor] py-editdist

2009/4/20 Alan Gauld <alan.gauld at btinternet.com>

"Emad Nawfal (عماد نوفل)" <emadnawfal at gmail.com> wrote

emad at emad-desktop:~/Desktop/py-editdist-0.3$ python setup.py build
running build

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall

editdist.c:22:20: error: Python.h: No such file or directory

Looks like you need the Python source code installed,
do you have that?

Alan G 

Python comes with Ubuntu, or do you mean that I should re-install it from source code? 

Tutor maillist  -  Tutor at python.org

لا أعرف مظلوما تواطأ الناس علي هضمه ولا زهدوا في إنصافه كالحقيقة.....محمد الغزالي
"No victim has ever been more repressed and alienated than the truth"

Emad Soliman Nawfal
Indiana University, Bloomington
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090420/5d8502bd/attachment.htm>

More information about the Tutor mailing list