PyMultiNest
PyMultiNest copied to clipboard
Issue installing prerequisites for PyMultiNest
Hi,
I am quite new to Python and I am trying to install the prerequisites for PyMultiNest, I am using an Ubuntu virtual machine on Windows PC. I have already installed the Python module.
I have tried using the following code:
sudo apt-get install python-{scipy,numpy,matplotlib,progressbar} ipython libblas{3,-dev} liblapack{3,-dev} libatlas{3-base,-dev} cmake build-essential git gfortran
But I am getting the following errors:
If you have any advice of how to fix my issue it would be much appreciated.
Thank you
use apt search to find packages. In current python 3 they are probably starting with e.g. python3-scipy. It would be good to update the instructions, can you suggest changes once you manage to install?
@jessrawlings98 I would recommend to use virtual env (conda, mamba, etc) for Python package installation. For linux dependencies use the following sudo apt-get libblas{3,-dev} liblapack{3,-dev} libatlas-base-dev cmake build-essential git gfortran (this from test.yml). ipython is available via pip
use
apt searchto find packages. In current python 3 they are probably starting with e.g. python3-scipy. It would be good to update the instructions, can you suggest changes once you manage to install?
Hi Johannes,
Thank you very much for your suggestion. After using apt search it appears the packages are starting with python3 as you suggested. However I am now getting a different error message when I try entering the code in my terminal, see the screenshot below. Do you know what this error message means?
Thank you
don't put a space after the comma.
Hi Johannes,
I have now managed to install the prerequisites for PyMultiNest. Note, as well as changing python to python3, I had to change ipython to ipython3.
Thanks again for your help