Closed twiecki closed 2 years ago
I think you installed x86_64 Rust by default, can you run rustc -vV
and paste the output here?
>>rustc -vV
rustc 1.59.0
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-apple-darwin
release: 1.59.0
LLVM version: 13.0.0
host: x86_64-apple-darwin
Yup, reinstall your Rust toolchain and make sure it outputs host: aarch64-apple-darwin
should resolve your issue.
Although we should be able to detect the arm64 Python and use --target aarch64-apple-darwin
automatically in maturin, so I'll keep this issue open for now.
That fixed it -- thanks! I had to reinstall homebrew
.
Bug Description
It seems to instead use this one:
But I can't see where it's it setting from.
Your Python version (
python -V
)Python 3.10.4
Your pip version (
pip -V
)pip 22.1.2 from /Users/twiecki/miniforge3/envs/pymc4/lib/python3.10/site-packages/pip (python 3.10)
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
maturin develop