On Wed, Feb 4, 2009 at 11:31 AM, Stefan Behnel <[email protected]> wrote:
>
>
> Dag Sverre Seljebotn wrote:
>> Case Vanhorsen wrote:
>>> I just tried to install Cython 0.11 beta with Python 3.0. I get the
>>> following error:
>>>
>>> case:~/src/Cython-0.11.beta$ py30 setup.py install
>>> Traceback (most recent call last):
>>>   File "setup.py", line 5, in <module>
>>>     from Cython.Compiler.Version import version
>>>   File "/home/case/src/Cython-0.11.beta/Cython/__init__.py", line 2, in 
>>> <module>
>>>     from Shadow import *
>>> ImportError: No module named Shadow
>>>
>>> It does install successfully using Python 2.5 and 2.6. Please let me
>>> know if there is any other information you need.
>>>
>> I had the impression that Cython doesn't support being run under Python
>> 3 (though Stefan would have the definitive answer on that). I think you
>> must install on Python 2.6, and then compile your .pyx to .c under 2.6,
>> and THEN you can compile the c file with the Python 3 headers to get a
>> Python 3 module.
>
> That is true. While the generated C source code supports Python 2.3 through
> 3.0 without changes, the Cython compiler itself requires Python 2.3 through
> 2.6 to run.
>
> As this does not limit Cython's functionality or applicability in any way,
> it's not a major priority for us to migrate Cython's own source code to Py3.
>
> Stefan
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
>

Thanks for the information. That's perfectly fine; I just wasn't aware of that.

Case
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to