Skip to content
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

osx-arm64 install #143

Open
as595 opened this issue Jul 8, 2024 · 4 comments
Open

osx-arm64 install #143

as595 opened this issue Jul 8, 2024 · 4 comments

Comments

@as595
Copy link

as595 commented Jul 8, 2024

  • UltraNest version: 4.3.2
  • Python version: 3.11.5
  • Operating System: Mac OSX (M1)

is there an osx-arm64 install option please?

@JohannesBuchner
Copy link
Owner

what happens when you follow the pip install instructions?

@JohannesBuchner
Copy link
Owner

for conda, there is already an issue open: #120

@as595
Copy link
Author

as595 commented Jul 8, 2024

I get an error about the gcc compilers. I think it's a clang issue, and I tried switching to a conda install to see if that helped, but I got the same error (copied at end).

If I do a direct install from the cloned repo I get a cython error, which is very puzzling since cython is definitely installed an up to date, but that might be a python version mismatch issue.

None of this happens when I install on linux - everything works fine there - and it's not super important, I just wondered if something had already been worked out. No need to spend time on it if not.

/usr/local/bin/gcc-10 -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/ascaife/miniconda3/include -arch arm64 -fPIC -O2 -isystem /Users/ascaife/miniconda3/include -arch arm64 -I. -I/private/var/folders/xw/vlgb7nwj2qq3frx27gxgfvxh0000gr/T/pip-build-env-t2wortie/overlay/lib/python3.11/site-packages/numpy/core/include -I/Users/ascaife/SRC/GITHUB/AGNfitter/venv/include -I/Users/ascaife/miniconda3/include/python3.11 -c ultranest/mlfriends.c -o build/temp.macosx-11.1-arm64-cpython-311/ultranest/mlfriends.o -O3
gcc-10: error: this compiler does not support arm64
gcc-10: error: this compiler does not support arm64
error: command '/usr/local/bin/gcc-10' failed with exit code 1

@JohannesBuchner
Copy link
Owner

Maybe update gcc iains/gcc-darwin-arm64#35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants