[Pyrex] Cython-0.9.6 (incompatibility to Pyrex)
Stefan Behnel
stefan_ml at behnel.de
Sun Jul 29 14:41:06 CEST 2007
Helmut Jarausch wrote:
> but I got
>
> Lexicon hash mismatch:
> expected 41b726e35f7afc0d74cab55e444efd7b
> got 28ec610462e70a00ce9be6f4436d9d2d
> Creating lexicon...
> Done (0.24 seconds)
> Warning: Unable to save pickled lexicon in /usr/lib/python2.5/site-packages/Cython/Compiler/Lexicon.pickle
You don't have write permissions to the install directory. Cython should
create and install Lexicon.pickle during the install process (didn't check,
but if it doesn't currently, it should).
> Error converting Pyrex file to C:
> ------------------------------------------------------------
> ...
> def set_Scanner_defaults(D):
> global Scanner_defaults
> if D and len(D) == 6 :
> Scanner_defaults= D
> else :
> raise ValueErr,"call as set_Scanner_defaults([T,S,I,D,W,C])"
> ^
> ------------------------------------------------------------
>
> /home/jarausch/Python_My/Pyrex/APSM/CYTHON/APSM.pyx:515:10: undeclared name not builtin: ValueErr
Fix your source file. It's "ValueError", not "ValueErr".
Stefan
More information about the Pyrex
mailing list