CAMB on Mac
-
- Posts: 3
- Joined: September 08 2019
- Affiliation: Colorado State University-Pueblo
CAMB on Mac
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
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
- Attachments
-
- Screen Shot 2020-04-09 at 12.27.52 AM.png (190.9 KiB) Viewed 1723 times
-
- Posts: 1952
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: CAMB on Mac
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
-
- Posts: 3
- Joined: September 08 2019
- Affiliation: Colorado State University-Pueblo
Re: CAMB on Mac
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
When I run the example on Jupyter, It says there is no module camb found.
Caixia Gao
- Attachments
-
- canbmMac.png (359.29 KiB) Viewed 1711 times
-
- Posts: 1952
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: CAMB on Mac
Make sure you are running the notebook in the right virtual env.
-
- Posts: 3
- Joined: September 08 2019
- Affiliation: Colorado State University-Pueblo
Re: CAMB on Mac
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.
- Attachments
-
- py37.png (212.28 KiB) Viewed 1662 times
-
- Screen Shot 2020-04-16 at 4.53.05 PM (1).png (66.56 KiB) Viewed 1663 times