[Cython] How to produce Python 3.0.1 compatible DLLs?
Juha Salo
jusa.sj at gmail.com
Sat May 2 14:19:25 CEST 2009
Hi,
I've been struggling with this for a day now. I'm trying to get the Primes
example from the Cython tutorial to work with Python 3.0.1 on Windows Vista.
So far I've managed to produce a primes.pyd file by executing the setup.py
file with Python 2.6. The primes module works when I import it in Python 2.6
but importing the module in Python 3.0.1 gives me the following:
"ImportError: Module use of python26.dll conflicts with this version of
Python."
I haven't found instructions for using cython with Python 3. The only things
I've found are the brief mention of Python 3 support in the cython docs and
a forum post explaining that cython modules should be build with Python 3
headers before they can be used with Python 3 but I have no idea how to do
it. Could anyone offer me some help with this? If there's a tutorial
somewhere on the net, I'd love to hear about it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/cython-dev/attachments/20090502/b27ecd5d/attachment.htm
More information about the Cython-dev
mailing list