-
-
Notifications
You must be signed in to change notification settings - Fork 277
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
cargo install maturin
fails on M1 Mac
#1196
Comments
Happens platform independently, but it's fixed on main anymore since there it's cargo-xwin 0.11 instead of 0.10.2. You can use |
Thank you! |
I've updated the docs to use IMO |
Saw the same issue on Linux. Thanks for posting a workaround! Did someone already create an issue with |
It's happening because the |
According to this PyO3/maturin#1196, we need to add `--locked` when installing/building `matruin` to use the correct cargo-xwin version
* Add https://github.com/Sema4-Research/pgr-tk/issues/4 According to this PyO3/maturin#1196, we need to add `--locked` when installing/building `matruin` to use the correct cargo-xwin version * fix, 0.3.4->0.3.6 * using wild card to adapte to whatever version default python used in biocoda
Merge PR #37352, commits were: * Add https://github.com/Sema4-Research/pgr-tk/issues/4 (#37787) * Add https://github.com/Sema4-Research/pgr-tk/issues/4 According to this PyO3/maturin#1196, we need to add `--locked` when installing/building `matruin` to use the correct cargo-xwin version * fix, 0.3.4->0.3.6 * using wild card to adapte to whatever version default python used in biocoda * Update pgr-tk to 0.3.6 * Update meta.yaml * Update meta.yaml * Update pgr-tk to 0.3.5
Bug Description
There is a compilation error with
cargo-xwin v0.10.2
. I've pasted the error in the "Steps to Reproduce" section. I'm not sure if this issue should be raised here or with xwin.Your Python version (
python -V
)3.9.13
Your pip version (
pip -V
)22.2.2
What bindings you're using
pyo3
Does
cargo build
work?If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash
/
)?Steps to Reproduce
I have a MacBook Pro with an M1 Max and my OS is
macOS 12.4 21F79 arm64
. I haverustc
andcargo
versions1.64.0
. I tried installingmaturin
usingcargo install maturin
. This is the compiler error:The text was updated successfully, but these errors were encountered: