fujiisoup / py3nj

Wigner's 3J, 6J, 9J symbols for python
https://py3nj.readthedocs.io/
Apache License 2.0
18 stars 5 forks source link

Installation issue on Mac #36

Open joshdumoulin opened 1 month ago

joshdumoulin commented 1 month ago

I get this error when trying to install py3nj:

'''  pip install --no-cache-dir py3nj Collecting py3nj Downloading py3nj-0.2.1.tar.gz (49 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.0/50.0 kB 6.0 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [20 lines of output]

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details. '''

So, it has something to do with openmp but I already have libomp installed with brew.

fujiisoup commented 1 month ago

Hi. It seems that you don't have OpenMP installed.