On Mon, Apr 20, 2009 at 2:13 PM, ALAN GAULD <alan.ga...@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 (عماد نوفل) <emadnaw...@gmail.com> > *To:* Alan Gauld <alan.ga...@btinternet.com> > *Cc:* tutor@python.org > *Sent:* Monday, 20 April, 2009 6:55:31 PM > *Subject:* Re: [Tutor] py-editdist > > > > 2009/4/20 Alan Gauld <alan.ga...@btinternet.com> > >> >> "Emad Nawfal (عماد نوفل)" <emadnaw...@gmail.com> wrote >> >> e...@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@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 --------------------------------------------------------
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor