[Tutor] py-editdist

Emad Nawfal (عماد نوفل) emadnawfal at gmail.com
Mon Apr 20 20:16:36 CEST 2009


On Mon, Apr 20, 2009 at 2:13 PM, ALAN GAULD <alan.gauld at btinternet.com>wrote:

> 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
> http://www.alan-g.me.uk/
>
>
> ------------------------------
> *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
>> http://mail.python.org/mailman/listinfo/tutor
>>
>
>
> Thank you Alan,,
>
Problem solved. I installed the Python-dev packages and everything worked
fine.

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



-- 
لا أعرف مظلوما تواطأ الناس علي هضمه ولا زهدوا في إنصافه كالحقيقة.....محمد
الغزالي
"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/0735fa3a/attachment.htm>


More information about the Tutor mailing list