CEA-COSMIC / pysap

Python Sparse data Analysis Package
Other
54 stars 24 forks source link

[INSTALLATION ERROR] #193

Open chris-mrn opened 4 months ago

chris-mrn commented 4 months ago

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?

gugababa commented 3 months ago

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

sfarrens commented 3 months ago

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).