[Cython] [HELP-INSTALL] Problem with setup.py
Stefan Behnel
stefan_ml at behnel.de
Thu Mar 19 15:19:09 CET 2009
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
More information about the Cython-dev
mailing list