[Cython] [HELP-INSTALL] Problem with setup.py
Nicolas Dumazet
nicdumz at gmail.com
Thu Mar 19 15:35:07 CET 2009
Hello Danilo!
sudo apt-get install python-dev
should fix your problem =)
2009/3/19 Danilo Freitas <dsurviver at gmail.com>:
> 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 <stefan_ml at behnel.de>:
>> 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
>> Cython-dev at codespeak.net
>> http://codespeak.net/mailman/listinfo/cython-dev
>>
> _______________________________________________
> Cython-dev mailing list
> Cython-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/cython-dev
>
--
Nicolas Dumazet — NicDumZ [ nɪk.d̪ymz ]
More information about the Cython-dev
mailing list