-
Notifications
You must be signed in to change notification settings - Fork 296
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
cc1: fatal error: classy/python/../python/classy.c: No such file or directory #540
Comments
Does the python folder get created, when you are in the CLASS folder, and rebuild the project?
The |
Thank you for your really quick response.
!!
!! Error compiling Cython file:...
classy.pyx:103:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead. Error compiling Cython file:...
classy.pyx:104:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead. Error compiling Cython file:...
classy.pyx:105:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead. Error compiling Cython file:...
classy.pyx:106:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead. Error compiling Cython file:...
classy.pyx:131:14: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
!!
!! Error compiling Cython file:...
classy.pyx:103:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead. Error compiling Cython file:...
classy.pyx:104:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead. Error compiling Cython file:...
classy.pyx:105:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead. Error compiling Cython file:...
classy.pyx:106:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead. Error compiling Cython file:...
classy.pyx:131:14: Variables cannot be declared with 'cpdef'. Use 'cdef' instead. Any help with it, please? |
I think there is an easy fix for that: Go into |
Thank you very much. It works now! |
This is actually a duplicate of #531. |
Hello. During the build or make python module I am getting error:
cc1: fatal error: /home/labs/testlab/alexkon/singularity/ubuntu22.04_clean/classy/classy/classy2.10/class_public-2.10/python/../python/classy.c: No such file or directory
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
And actually classy.c is not presented in any place.
I am getting this message during make, cd python; python setup.py build and even when I am running cobaya install by: cobaya-install cosmo -p cosmo_packages
What can cause to it and how to solve?
Thanks.
Alexey Konvisher
The text was updated successfully, but these errors were encountered: