-
Notifications
You must be signed in to change notification settings - Fork 165
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
pip install antspyx
installs arm-compiled ANTsPy on intel-based mac (py=3.9)
#524
Comments
Cannot reproduce with an Intel Mac running OS 12.7. I wonder if it's a problem with pip detecting the right package to install, or maybe it's an issue with Mac OS 13 vs 12.
Can you paste the output of |
I built a reproducible github action here https://github.com/dipterix/ravemanager/actions/runs/7630738677/job/20787088190#step:7:1466
The runner itself is running under intel chip, and the enclosing conda, including pip are built under |
Thanks, I tried installing antspynet, rather than antspyx directly, as in the runner. For me, it installs correctly (I'm running Monterey, 12.7)
From your runner output,
It pulls from |
I can't even install the wheel, it says right away it's not compatible. Not sure what's happening with the runner. |
Pinging pypi maintainers @stnava @ravnoor @ntustison It looks like the universal wheel only provides arm64 binaries. It's causing an Intel Github runner to fail to install (as above), though on my Intel mac machine pip selects a different wheel, which works. |
I removed |
I setup a minimal conda environment with the results identical to @cookpa's testing. Probably the universal wheel in question is corrupted or wasn't built/tested properly. It's the only universal binary on PyPi so it's hard to determine if this was a systemic or a one-off issue. The easiest fix would be to delete the universal binary from PyPi, since it's made redundant by more recently built/tested |
#527 should make scenarios such as this less likely. |
I'm good with deleting, is that OK @stnava ? Specifically, removing |
sure whatever works |
@stnava @ntustison could I please be added as an antspyx PyPI maintainer? |
what is your pypi user name? |
Sorry cookpa over there too |
Thanks @stnava - looks like deletions are only available to "owners", would you be able to remove Thanks |
done |
Thanks! @dipterix hopefully you can install on x86 now |
Great! Do I need to compile on the fly? (Btw I just realized we are at the same building! |
I think it should get a pre-compiled binary, on my Intel Mac it gets |
Not working setups:
Python version: 3.9
ANTsPyx version: 0.4.2, 0.3.8
OSX version: 13.4, Intel CPU
Working setups:
Python version: 3.8
ANTsPyx version: 0.4.2, 0.3.8
OSX version: 13.4, Intel CPU
The text was updated successfully, but these errors were encountered: