[Pyrex] Problems with the patched version of Pyrex for Python 2.5

Stefan Behnel behnel_ml at gkec.informatik.tu-darmstadt.de
Sat Jul 29 10:01:46 UTC 2006



Francesc Altet wrote:
> I've tried your patched version of Pyrex available in:
> 
> http://codespeak.net/svn/lxml/pyrex/
> 
> but I'm having problems with it:
> 
> 
> $ python2.5
> Python 2.5b2 (r25b2:50512, Jul 12 2006, 14:01:43)
> [GCC 4.0.4 20060422 (prerelease) (Debian 4.0.3-2)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import Pyrex
>>>> import Pyrex.Distutils
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/local/lib/python2.5/site-packages/Pyrex/Distutils/__init__.py", 
> line 19, in <module>
>     from build_ext import build_ext
>   File "/usr/local/lib/python2.5/site-packages/Pyrex/Distutils/build_ext.py", 
> line 11, in <module>
>     from Pyrex.Compiler.Main import CompilationOptions, default_options, 
> compile
>   File "/usr/local/lib/python2.5/site-packages/Pyrex/Compiler/Main.py", line 
> 325, in <module>
>     from Pyrex.PC.LinuxSystem import c_compile, c_link, CCompilerError
> ImportError: No module named PC.LinuxSystem
> 
> Mmm, the Pyrex/PC directory is empty. Perhaps you forgot to upload the files 
> there?

I did not quite forget uploading them, I rather forgot that they were actually
used... :)

Can you retry now? I'm actually glad someone is testing it under 2.5. If you
have any other problems with it, please report back so that I can fix them.

Stefan




More information about the Pyrex mailing list