Skip to content

make fails to cythonize pymoses #91

@StrangeTcy

Description

@StrangeTcy

makeing moses fails at this particular spot:

[ 92%] Built target eval-diversity
[ 94%] Built target moses-exec
[ 94%] Built target moses-man
[ 96%] Built target eval-features
[ 98%] Built target fs-main
[ 98%] Built target feature-man
[ 98%] Cythonizing pymoses.pyx

Error compiling Cython file:

...
raise MosesException('Error: eval method
requires a list of input '
'values.')

    namespace = {}
    exec self.program in namespace
        ^

/home/me/opencog/moses/moses/cython/opencog/pymoses.pyx:34:13: Syntax error in simple statement list
moses/cython/opencog/CMakeFiles/moses_cython.dir/build.make:62: recipe for target 'moses/cython/opencog/pymoses.cpp' failed

My guess is that cython somehow gets confused by namespace being an empty dictionary, but I know next to no cython myself and so am probably wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions