Closed roccorollo closed 3 months ago
This is an issue with the fsps installation. Can you try
echo $SPS_HOME
python -c "import fsps; print(fsps.__version__)"
cd $SPS_HOME
git rev-parse HEAD
Thank you. Here my output:
(py38) rossi@Inspiron-3020:~/work/redshift/prospector$ echo $SPS_HOME
/home/rossi/soft/git/fsps
(py38) rossi@Inspiron-3020:~/work/redshift/prospector$ python -c "import fsps; print(fsps.__version__)"
0.4.3
(py38) rossi@Inspiron-3020:~/work/redshift/prospector$ cd $SPS_HOME
(py38) rossi@Inspiron-3020:~/soft/git/fsps$ git rev-parse HEAD
4c527a97f055f96ad6d77d975d84b65b07f298c3
(py38) rossi@Inspiron-3020:~/soft/git/fsps$
Thanks - the python-fsps version is a bit out of date, the current release is 0.4.6. Once you've updated it should work.
Thanks. I could install last version only after switching to python 3.10. Now it works :-) Sorry if I missed this requirement (maybe 3.9 was enough, but I did not check) :-(
Thanks for the info, I will try to make sure that requirement is noted.
Hi
This is the first time I install this software. I have installed the default version (not the development one, after installing requirements, including fsps). It seems that the code cannot find an important library file xsp_feh-2.00.spec The problem raises at the step "get a source" after CSPSpecBasis(zcontinuous=1)
I get the error: Fixed Parameters: (name: value [, depends_on])
zred: [0.07260209] sfh: [4] imf_type: [2] dust_type: [0] add_neb_emission: [ True] add_neb_continuum: [ True] nebemlineinspec: [ True] gas_logz: [0.] <function stellar_logzsol at 0x72a980ca5ca0> gas_logu: [-2.] SPS_SETUP ERROR: xsp_feh-2.00.spec cannot be opened
similarly, in the tutorial, when running python demo_params.py --objid=0 --emcee --optimize --outfile=demo_obj0_emcee
I get the same error: SPS_SETUP ERROR: xsp_feh-2.00.spec cannot be opened