-
Notifications
You must be signed in to change notification settings - Fork 289
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
Comments
Hi, if I am to make a guess some package has not been installed. Have you
installed all the required packages? Also, make sure that you compile CLASS
in the conda environment that you are using (I am judging by the path that
you are working in a conda environment).
…On Mon, Apr 26, 2021 at 5:45 AM Rodrigo von Marttens < ***@***.***> wrote:
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?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#416>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APD5PLWGIEJ7BPPENDX5L4LTKTOUHANCNFSM43SATEMQ>
.
|
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. |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
The text was updated successfully, but these errors were encountered: