CEA-COSMIC/pysap

[INSTALLATION ERROR]

chris-mrn opened this issue · 2 comments

System setup
OS: [e.g] macOS v13.3.1
Python version: [e.g.] v3.12.3
Python environment (if any): [e.g.] conda v4.5.11

Describe the bug
Hello,

I have an error when I run the command pip install python-pysap, the error is returned by cmake. It says that it could not find a package configuration file provided by "BigMac". I am not very familiar with these softwares and I would greatly appreciate your help.

Best,
Christopher

To Reproduce
conda activate base
conda create --name test_pysap
conda activate test_pysap
pip install python-pysap

Screenshots
test_pysap.txt

Are you planning to submit a Pull Request?

  • Yes
  • No

I tried to recently install pysap and am running into this same error. I would also greatly appreciate any help on this issue!

Best,
Anshuman

Hi @chris-mrn @gugababa,

Apologies, this is on my todo list but I won't have time to properly sort it out for another month or so. In the meantime you should be able to install the develop branch of PySAP on Apple Silicon provided you have the required system dependencies (see here, I think you should only need CFITSIO, pkg-config, libomp and BigMac).

pip install git+https://github.com/CEA-COSMIC/pysap

It works on my M1 MacBook running macOS 14.4.1, but I haven't checked what the minimum set of dependencies is (I have everything on the Sparse2D list installed already).