You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used to compile CLASS from source but I decided to try out the new pip install classy command with my new laptop (m1 mac in case the info is relevant). The installation runs without any issues, as well as importing the library.
but now runs into errors that were not present in my previous installation:
CosmoSevereError Traceback (most recent call last)
Cell In[4], line 21
19 cclass = Class()
20 cclass.set(cosmo)
---> 21 cclass.compute()
File /opt/miniconda3/lib/python3.9/site-packages/class_public/python/classy.pyx:364, in classy.Class.compute()
CosmoSevereError:
Error in Class: input_read_from_file(L:422) :error in input_shooting(pfc,ppr,pba,pth,ppt,ptr,ppm,phr,pfo,ple,psd,pop, input_verbose, &has_shooting, errmsg);
=>input_shooting(L:836) :error in input_try_unknown_parameters(&A_s, 1, &fzw, &sigma8_or_S8, errmsg);
=>input_try_unknown_parameters(L:1416) :error in thermodynamics_init(&pr,&ba,&th);
=>thermodynamics_init(L:344) :error in thermodynamics_helium_from_bbn(ppr,pba,pth);
=>thermodynamics_helium_from_bbn(L:589) :could not open fA with name /Users/Alexandre/.local/lib/python3.9/site-packages/class_public/external/bbn/sBBN_2017.dat and mode "r"
Given that I'm not sure if those come from the pip install or just the switch from 3.1.2 to 3.2.3, could someone explain those to me and tell me what I'm eventually doing wrong ?
Thanks a lot for your help :)
The text was updated successfully, but these errors were encountered:
I just built the same class version (3.2.3) from source without installing any additional packages and the previously shown piece of code now runs without any issue. I thus think it's really an issue with the pip installation.
Hi,
I used to compile CLASS from source but I decided to try out the new
pip install classy
command with my new laptop (m1 mac in case the info is relevant). The installation runs without any issues, as well as importing the library.I'm now trying to run this piece of code:
but now runs into errors that were not present in my previous installation:
Given that I'm not sure if those come from the pip install or just the switch from 3.1.2 to 3.2.3, could someone explain those to me and tell me what I'm eventually doing wrong ?
Thanks a lot for your help :)
The text was updated successfully, but these errors were encountered: