Page 1 of 1
CAMB on Mac
Posted: April 10 2020
by CaixiaSkye Gao
Dear All,
I installed Anaconda and tried to install camb:
conda install -c conda-forge camb
But failed. Attached please find the error code. Could you tell me how to solve this problem?
Thank you,
Caixia
Re: CAMB on Mac
Posted: April 10 2020
by Antony Lewis
I find anacomda often gets into an inconsistent state. I'd make a new clean environment, e.g. using
Code: Select all
conda create -n py37forge -c conda-forge python=3.7 scipy matplotlib camb
Re: CAMB on Mac
Posted: April 11 2020
by CaixiaSkye Gao
Thank you Dr. Lewis. That is very helpful. We did successfully installed the program.
When I run the example on Jupyter, It says there is no module camb found.
Caixia Gao
Re: CAMB on Mac
Posted: April 11 2020
by Antony Lewis
Make sure you are running the notebook in the right virtual env.
Re: CAMB on Mac
Posted: April 18 2020
by CaixiaSkye Gao
Yes, that is actually the case. CAMB was installed on a new environment py37forge, instead of the root. Then we tried to launch jupyter notebook in this environment, however, Jupyter notebook can not be installed in py37forge.