Hello Danilo! sudo apt-get install python-dev
should fix your problem =) 2009/3/19 Danilo Freitas <[email protected]>: > I'm on Ubuntu 8.04 and Python 2.5, to be more specific > > I used the --no-cython-compile and it did with no problems. > But, I can normally use Cython this way? > > Thanks > > Danilo > > 2009/3/19 Stefan Behnel <[email protected]>: >> Danilo Freitas wrote: >>> I'm trying to install Cython here, but I'm with problems. >> >> "here" being what kind of system and Python version? >> >> >>> When I put "python setup.py install" on terminal, it begins the >>> installation, but then some problems occurs. >>> >>> When in file "Cython/Plex/Scanners.c" it gets lots of syntax errors on >>> file, and I think it shouldn't occur. >> >> You can either install a (slower) pure Python version of Cython by passing >> >> --no-cython-compile >> >> to setup.py, or you can install the Python development files (i.e. header >> files etc.) so that you can build the faster binary version. Note that you >> will need them anyway if you want to use Cython (to build extension >> modules). >> >> Stefan >> >> _______________________________________________ >> Cython-dev mailing list >> [email protected] >> http://codespeak.net/mailman/listinfo/cython-dev >> > _______________________________________________ > Cython-dev mailing list > [email protected] > http://codespeak.net/mailman/listinfo/cython-dev > -- Nicolas Dumazet — NicDumZ [ nɪk.d̪ymz ] _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
