Hi Tutors, I tried to install this edit distance module but failed: http://www.mindrot.org/projects/py-editdist/
I'm running Ubuntu Linux. The error message is below. Your help appreciated e...@emad-desktop:~/Desktop/py-editdist-0.3$ python setup.py build running build running build_ext building 'editdist' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c editdist.c -o build/temp.linux-i686-2.5/editdist.o editdist.c:22:20: error: Python.h: No such file or directory editdist.c:91: error: expected ‘)’ before string constant editdist.c:94: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token editdist.c:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘editdist_methods’ editdist.c:116: error: expected ‘)’ before string constant editdist.c:119: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘initeditdist’ error: command 'gcc' failed with exit status 1 -- لا أعرف مظلوما تواطأ الناس علي هضمه ولا زهدوا في إنصافه كالحقيقة.....محمد الغزالي "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