Hello,
Apologies. This was the only mailing list I found- I think maybe it's kind of 
appropriate now here anyway since Cython is broken with Python 3.
> You can install it normally, though, e.g. using the "install" or "bdist" > 
> targets.I don't install programs unless they have a package because of 
> problems like this. And just building it in the local directory and pointing 
> PYTHONPATH should be enough, right?
> The source file in in the archive, so I guess you have broken something > 
> while editing the files. Please retry with the unmodified Cython release.I 
> wasn't clear, my bad. I edited the files *because* it didn't work. They're 
> using Python2 syntax and so will throw exceptions under Python3. I had to fix 
> the files to get them to run. Then it still bails due to a missing module.
The same steps I used here worked previously a few weeks ago, so I assume the 
latest Cython release might be broken :)
cya
> Date: Mon, 30 Aug 2010 20:53:39 +0200> From: [email protected]
> To: [email protected]
> Subject: Re: [Cython] Python3 + Cython Error
> 
> Hi,
> 
> please try to format your mail a little more readable next time. Also, 
> please use the cython-users mailing list instead of the developers mailing 
> list.
> 
> velociraptor Genjix, 30.08.2010 20:30:
> > Cython a few weeks ago was fine with Python 3. But now after I build 
> > (python setup.py build) and then run setup.py, I get:
> > gen...@l:~/Public/cython$ python setup.py build_extrunning build_ext... 
> > File "/home/genjix/Downloads/Cython-0.13/Cython/Compiler/Main.py", line 35  
> >   print t.dump()          ^SyntaxError: invalid syntax
> 
> Interesting, the "build_ext" target doesn't run the refactoring step.
> 
> You can install it normally, though, e.g. using the "install" or "bdist" 
> targets.
> 
> 
> > After adding (, )'s around that print and going through fixing some syntax 
> > errors:
> > # here's the new exception style in python 3 fyiexcept (Exc1, Exc2) as e:   
> >  ...
> > It runs but I get,
> > failed to import Cython: No module named Codeerror: Cython does not appear 
> > to be installed
> > Indeed, /Cython/ has no module named Code:CodeWriter.py  Includes      
> > Runtime          TestsCompiler       __init__.py   Shadow.py        
> > TestUtils.pyDebugging.py   __init__.pyc  Shadow.pyc       Utils.pyDistutils 
> >      Plex          StringIOTree.py
> 
> The source file in in the archive, so I guess you have broken something 
> while editing the files. Please retry with the unmodified Cython release.
> 
> Stefan
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
                                          
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to