Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cython compile error in State.pyx... #9

Closed
epitron opened this issue Dec 7, 2013 · 2 comments
Closed

Cython compile error in State.pyx... #9

epitron opened this issue Dec 7, 2013 · 2 comments

Comments

@epitron
Copy link

epitron commented Dec 7, 2013

Hi there,

Just ran into this cython compile error:

cythoning crosscat/cython_code/State.pyx to crosscat/cython_code/State.cpp

Error compiling Cython file:
------------------------------------------------------------
...
import crosscat.utils.general_utils as gu
# import crosscat.utils.plot_utils as pu


cdef double set_double(double& to_set, double value):
     to_set = value
           ^
------------------------------------------------------------

crosscat/cython_code/State.pyx:35:12: Assignment to reference 'to_set'

I'm building on Arch Linux, using Python 3.3.3, and cython 0.19.2.

@dlovell
Copy link
Contributor

dlovell commented Dec 8, 2013

Hi epitron,

Per requirements.txt, required Cython is 0.17.1

I've never tried with Python3, currently everything is tested with 2.7.3

@dlovell dlovell closed this as completed Dec 8, 2013
@epitron
Copy link
Author

epitron commented Dec 8, 2013

Ah, I see. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants