Problem installing camb on MacOS
-
- Posts: 15
- Joined: May 11 2005
- Affiliation: Yachay TECH University
Problem installing camb on MacOS
Hello!
I need your help. I am an new Anaconda user and, I am trying to install camb with the command:
conda install -c conda-forge camb
But when I run the command camb inifiles/planck_2018.ini I obtained the error: -bash: camb: command not found
And, if I run the command python camb.py inifiles/planck_2018.ini I obtained the error:
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'camb.py': [Errno 2] No such file or directory
Can you help me?
Thanks,
Clara
I need your help. I am an new Anaconda user and, I am trying to install camb with the command:
conda install -c conda-forge camb
But when I run the command camb inifiles/planck_2018.ini I obtained the error: -bash: camb: command not found
And, if I run the command python camb.py inifiles/planck_2018.ini I obtained the error:
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'camb.py': [Errno 2] No such file or directory
Can you help me?
Thanks,
Clara
-
- Posts: 1944
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: Problem installing camb on MacOS
The second one looks like you haven't activated the conda environment or not using anaconda prompt (running Mac default old Python 2.7).
For the first one maybe try starting over with a clean conda python 3.7 environment. eg.
For the first one maybe try starting over with a clean conda python 3.7 environment. eg.
Code: Select all
conda create -n py37forge -c conda-forge python=3.7 scipy camb
-
- Posts: 15
- Joined: May 11 2005
- Affiliation: Yachay TECH University
Re: Problem installing camb on MacOS
Thanks very much!
I have created the clean environment and now I have the error:
File not found: inifiles/planck_2018.ini
Best regards,
Clara
I have created the clean environment and now I have the error:
File not found: inifiles/planck_2018.ini
Best regards,
Clara
-
- Posts: 15
- Joined: May 11 2005
- Affiliation: Yachay TECH University
Re: Problem installing camb on MacOS
Dear Antony!
Since the Anaconda graphical environment the file is compiling.
Thanks very much!
Clara
Since the Anaconda graphical environment the file is compiling.
Thanks very much!
Clara