Case Vanhorsen wrote: > Hello, > > 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.
Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
