xpsi-group / neost

Other
2 stars 0 forks source link

Conda installation fails on Mac M1 architectures #48

Open adonath opened 2 weeks ago

adonath commented 2 weeks ago

I tried to install neost on a MacBook Pro M1 (2021) using conda and the provided environment.yml file. However it fails with:

Could not solve for environment specs
The following package could not be installed
└─ pymultinest is not installable because it requires
   └─ multinest, which does not exist (perhaps a missing channel).

And indeed there are no arm-64 coda builds for multinest (https://anaconda.org/conda-forge/multinest) available. The README.md mentions specific (limited) instructions for Mac (https://github.com/xpsi-group/neost?tab=readme-ov-file#installation-and-testing), however I cannot find those in the actual documentation (https://xpsi-group.github.io/neost/install.html).

Given that Mac users are very common in the scientific community I think it would be good to address installation on Mac specifically and also mentioned the support (or non-support) for ARM architectures.

adonath commented 1 week ago

Just a few more updates:

× Getting requirements to build editable did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

drannawatts commented 1 week ago

Thanks @adonath we're looking into it! Well @nr1118 is :-D

nr1118 commented 1 week ago

Hi @adonath, myself and @svisak have updated the installation instructions to discuss MAC M-series installation in the sense that we do have a definitive solution, but can offer some troubleshooting methods. Additionally, we have updated our setup.py file since it seems we forgot a simple import os in that file based on your most recent error message. Hopefully, all this will mean that you can install NEoST.