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

Error when importing classy #416

Closed
rodrigovonmarttens opened this issue Apr 26, 2021 · 2 comments
Closed

Error when importing classy #416

rodrigovonmarttens opened this issue Apr 26, 2021 · 2 comments

Comments

@rodrigovonmarttens
Copy link

I've installed CLASS following all the instructions, but when I try to import classy on python, it returns the following error message:

Traceback (most recent call last):
File "", line 1, in
ImportError: dlopen(//opt/anaconda3/lib/python3.8/site-packages/classy.cpython-38-darwin.so, 2): Symbol not found: _background_at_tau
Referenced from: //opt/anaconda3/lib/python3.8/site-packages/classy.cpython-38-darwin.so
Expected in: flat namespace
in //opt/anaconda3/lib/python3.8/site-packages/classy.cpython-38-darwin.so

Does anyone knows how to fix that please?

@ShazAlvi
Copy link

ShazAlvi commented Apr 26, 2021 via email

@rodrigovonmarttens
Copy link
Author

Many thanks, @ShazAlvi !

Actually, I've been able to solve this issue by pointing out the gcc installed with brew in the gcc entry on the Makefile.

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