Description
I installed pymultinest using 'conda install conda-forge::pymultinest' but when I try to import pymultinest it shows an error as given below.
$$ python
Python 3.8.8 (default, Apr 13 2021, 19:58:26)
[GCC 7.3.0] :: Anaconda, Inc. on linux
import pymultinest
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'pymultinest'
exit()
However, my system shows the pymultinest files as I search
$$ find ./ -name "pymultinest*" -print
./anaconda3/pkgs/pymultinest-2.12-pyh707e725_0.conda
./anaconda3/pkgs/pymultinest-2.12-pyh707e725_0
./anaconda3/pkgs/pymultinest-2.12-pyh707e725_0/site-packages/pymultinest-2.12.dist-info
./anaconda3/pkgs/pymultinest-2.12-pyh707e725_0/site-packages/pymultinest
./anaconda3/conda-meta/pymultinest-2.12-pyh707e725_0.json
Initially, when I installed pymultinest the error was
"Could not load MultiNest library: libgfortran.so.3". To solve that I uninstalled pymultynest, installed gfortran separately, and then reinstalled as mentioned above using conda.
Can you please help me to sort this out?
Activity