[Cython] [cython-users] Re: Cython 0.25 alpha0

Matthew Brett matthew.brett at gmail.com
Mon Sep 26 13:00:52 EDT 2016


Hi,

On Mon, Sep 26, 2016 at 1:42 AM, Alexey Buluy <kamikazze.ru at gmail.com> wrote:
>
> Who is this smart guy who decided to release this version into the open
> without proper testing?
> Now all packages in pip which use Cython are failing to install:
>
>> sudo pip install cassandra-driver==2.7.2
>> Downloading/unpacking cassandra-driver==2.7.2
>>   Running setup.py egg_info for package cassandra-driver
>>     Unable to find pgen, not compiling formal grammar.
>>     Compiling
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Plex/Scanners.py because it
>> changed.
>>     Compiling
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Plex/Actions.py because it
>> changed.
>>     Compiling
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Compiler/Lexicon.py because it
>> changed.
>>     Compiling
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Compiler/Scanning.py because
>> it changed.
>>     Compiling
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Compiler/Parsing.py because it
>> changed.
>>     Compiling
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Compiler/Visitor.py because it
>> changed.
>>     Compiling
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Compiler/FlowControl.py
>> because it changed.
>>     Compiling
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Compiler/Code.py because it
>> changed.
>>     Compiling
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Tempita/_tempita.py because it
>> changed.
>>     [1/9] Cythonizing
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Compiler/Code.py
>>     [2/9] Cythonizing
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Compiler/FlowControl.py
>>     [3/9] Cythonizing
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Compiler/Lexicon.py
>>     [4/9] Cythonizing
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Compiler/Parsing.py
>>     [5/9] Cythonizing
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Compiler/Scanning.py
>>     [6/9] Cythonizing
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Compiler/Visitor.py
>>     [7/9] Cythonizing
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Plex/Actions.py
>>     [8/9] Cythonizing
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Plex/Scanners.py
>>     [9/9] Cythonizing
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Tempita/_tempita.py
>>     warning: no files found matching '*.pyx' under directory
>> 'Cython/Debugger/Tests'
>>     warning: no files found matching '*.pxd' under directory
>> 'Cython/Debugger/Tests'
>>     warning: no files found matching '*.h' under directory
>> 'Cython/Debugger/Tests'
>>     warning: no files found matching '*.pxd' under directory
>> 'Cython/Utility'
>>     gcc: error:
>> /tmp/easy_install-AEclgi/Cython-0.25a0/Cython/Runtime/refnanny.c: No such
>> file or directory
>>     gcc: fatal error: no input files
>>     compilation terminated.
>
>
> Anybody knows how to fix this?

That's odd - have you set up pip to fetch ``--pre`` packages by
default somehow?  When I do a pip install on my machine, I get the
stable release.   The pre-releases, like this one, are precisely to
shake out problems before the stable releases.

What do you get for a plain:

pip install cython

Best,

Matthew


More information about the cython-devel mailing list