Could you provide the code?

On Fri, Nov 5, 2010 at 5:50 PM, Fabrizio Milo aka misto
<[email protected]> wrote:
> Plain macos install
>
> easy_install
> cython <file>
>
> Traceback (most recent call last):
>  File "/usr/local/bin/cython", line 8, in <module>
>    load_entry_point('Cython==0.13', 'console_scripts', 'cython')()
>  File 
> "/Library/Python/2.6/site-packages/Cython-0.13-py2.6-macosx-10.6-universal.egg/Cython/Compiler/Main.py",
> line 759, in setuptools_main
>    return main(command_line = 1)
>  File 
> "/Library/Python/2.6/site-packages/Cython-0.13-py2.6-macosx-10.6-universal.egg/Cython/Compiler/Main.py",
> line 776, in main
>    result = compile(sources, options)
>  File 
> "/Library/Python/2.6/site-packages/Cython-0.13-py2.6-macosx-10.6-universal.egg/Cython/Compiler/Main.py",
> line 751, in compile
>    return compile_multiple(source, options)
>  File 
> "/Library/Python/2.6/site-packages/Cython-0.13-py2.6-macosx-10.6-universal.egg/Cython/Compiler/Main.py",
> line 723, in compile_multiple
>    result = run_pipeline(source, options)
>  File 
> "/Library/Python/2.6/site-packages/Cython-0.13-py2.6-macosx-10.6-universal.egg/Cython/Compiler/Main.py",
> line 593, in run_pipeline
>    err, enddata = context.run_pipeline(pipeline, source)
>  File 
> "/Library/Python/2.6/site-packages/Cython-0.13-py2.6-macosx-10.6-universal.egg/Cython/Compiler/Main.py",
> line 234, in run_pipeline
>    data = phase(data)
>  File "Visitor.py", line 276, in
> Cython.Compiler.Visitor.CythonTransform.__call__
> (/var/folders/F4/F4bjdeyFHqSkP82qVpZM2U+++TQ/-Tmp-/easy_install-f4XQDC/Cython-0.13/Cython/Compiler/Visitor.c:4924)
>  File "Visitor.py", line 259, in
> Cython.Compiler.Visitor.VisitorTransform.__call__
> (/var/folders/F4/F4bjdeyFHqSkP82qVpZM2U+++TQ/-Tmp-/easy_install-f4XQDC/Cython-0.13/Cython/Compiler/Visitor.c:4684)
>  File "Visitor.py", line 28, in
> Cython.Compiler.Visitor.BasicVisitor.visit
> (/var/folders/F4/F4bjdeyFHqSkP82qVpZM2U+++TQ/-Tmp-/easy_install-f4XQDC/Cython-0.13/Cython/Compiler/Visitor.c:1178)
>  File 
> "/Library/Python/2.6/site-packages/Cython-0.13-py2.6-macosx-10.6-universal.egg/Cython/Compiler/ParseTreeTransforms.py",
> line 1146, in visit_ModuleNode
>    node.body.analyse_expressions(node.scope)
>  File 
> "/Library/Python/2.6/site-packages/Cython-0.13-py2.6-macosx-10.6-universal.egg/Cython/Compiler/Nodes.py",
> line 346, in analyse_expressions
>    stat.analyse_expressions(env)
>  File 
> "/Library/Python/2.6/site-packages/Cython-0.13-py2.6-macosx-10.6-universal.egg/Cython/Compiler/Nodes.py",
> line 346, in analyse_expressions
>    stat.analyse_expressions(env)
>  File 
> "/Library/Python/2.6/site-packages/Cython-0.13-py2.6-macosx-10.6-universal.egg/Cython/Compiler/Nodes.py",
> line 3270, in analyse_expressions
>    self.analyse_types(env)
>  File 
> "/Library/Python/2.6/site-packages/Cython-0.13-py2.6-macosx-10.6-universal.egg/Cython/Compiler/Nodes.py",
> line 3364, in analyse_types
>    self.rhs = self.rhs.coerce_to(self.lhs.type, env)
>  File 
> "/Library/Python/2.6/site-packages/Cython-0.13-py2.6-macosx-10.6-universal.egg/Cython/Compiler/ExprNodes.py",
> line 572, in coerce_to
>    src = CoerceFromPyTypeNode(dst_type, src, env)
>  File 
> "/Library/Python/2.6/site-packages/Cython-0.13-py2.6-macosx-10.6-universal.egg/Cython/Compiler/ExprNodes.py",
> line 6634, in __init__
>    if not result_type.create_from_py_utility_code(env):
> AttributeError: 'UnspecifiedType' object has no attribute
> 'create_from_py_utility_code'
>
>
> --
> --------------------------
> Luck favors the prepared mind. (Pasteur)
> _______________________________________________
> 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