-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation instructions #139
Comments
Hi There, I'm trying to install pycuba/cuba in a conda environment and I'm not getting it. I was able to easily install pymultinest with Then, I I installed Cuba via Do you have any tips on how to make cuba/pycuba work with conda environment? |
I never tried this. Can you look in your conda python site-packages directory if pycuba is there? |
Hi, to successfully use PyMultinest on macOS M1, I had to add two steps to the installation. First, I used a conda environment but had to make sure I built it under an osx-arm64 (arm64) architecture. I followed this issue). Second, in order for my environment to find the libraries to run PyMultinest, which I installed by cloning the GitHub repository, I had to install Multinest which I did following the instructions and then I had to copy the multinest/lib files onto my environment, which worked by doing:
Could be worth to add these to the installation instructions to save some time for future users :) |
@Palma-Bifani Hi, I'm trying to install pymultinest and multinest on macOS and I'm also trying to do it so it's contained in a conda environment. Would you kindly mind detailing your steps a little more? By default, my conda environment is arm64 so not a problem. before creating the environment, I installed all the necessary dependencies using brew, e.g.
this is environment independent as brew doesnt installs on the system-wide if I am understanding correctly. Also I believe lapack and blas are already included in Mac so no need to install again with brew. Then I created a conda environment and did,
as written on the pages. now, as for installation of pymultinest and multinest, I am unsure how to use git clone to make sure these are done inside the conda environment ? do I install these outside my conda environment or within it and then git clone? will that contain them in the environment itself? also, what did you add to your path variable to indicate you are using the environment? I would appreciate any guidance! |
pymultinest is already on conda: https://anaconda.org/conda-forge/pymultinest if that does not work for you, activate your conda environment, (conda) install the dependencies, then do the build steps. |
I did try this method but it said pymultinest package not available - I will retry building it from source, thanks |
If conda install failed, create an issue on https://github.com/conda-forge/pymultinest-feedstock . Include the command and error message. |
The installation instructions should be consolidated for MacOS and Linux users to here:
https://johannesbuchner.github.io/PyMultiNest/install.html
TODO:
The text was updated successfully, but these errors were encountered: