[Pyrex] Pyrex testing

Scott Jackson scott.jackson at enthought.com
Thu Jul 26 23:09:47 CEST 2007


Hi all,
I'm trying to test Pyrex 0.9.5.1a on an x64 CentOS machine. First
problem I get is:
===
$ ./bin/run_tests
/usr/bin/env: pythonw: No such file or directory
===
So I change it to 'python':
===
$ ./bin/run_tests
Traceback (most recent call last):
  File "./bin/run_tests", line 6, in <module>
    from Pyrex.Testing import Testing
ImportError: No module named Testing
===
Which is avoidable by going into the testing directory:
===
>>> import Testing
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "Testing.py", line 11, in <module>
    from Pyrex.Compiler.Main import CCompilerError
ImportError: cannot import name CCompilerError
===
And I checked it out in my dist of Pyrex and certainly enough, there is
no CCompilerError defined in Pyrex/Compiler/Main.py

Environment Info:
Python 2.5.1 (r251:54863, Jun 21 2007, 10:43:07)
[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-56)] on linux2
model name      : Dual Core AMD Opteron(tm) Processor 185
Pyrex-Tests-0.9.5.1
Pyrex-0.9.5.1a

We're also using a Pyrex package in Egg format- hence our tests to make
sure it works, so I can't tell if this is our problem or a problem with
the test suites. Any help is useful.
PS: http://lists.copyleft.no/pipermail/pyrex/2006-April/001731.html
Doesn't seem to help my particular problems, before I'm referred back ;)
I am only human and could have missed something, however.

-- 
Scott Jackson <scott.jackson at enthought.com>
Enthought, Inc.




More information about the Pyrex mailing list