Skip to content

zig build Couldn't find any python interpreters #4464

Closed Answered by niuhuan
niuhuan asked this question in Questions
Discussion options

You must be logged in to vote

The problem has been solved

(base) ➜  rust_modules git:(master) ✗ maturin build --target x86_64-unknown-linux-gnu --zig -i python3.12
🔗 Found pyo3 bindings
🐍 Found CPython 3.12
   Compiling pyo3-build-config v0.22.2
   Compiling pyo3-macros-backend v0.22.2
   Compiling pyo3-ffi v0.22.2
   Compiling pyo3 v0.22.2
   Compiling pyo3-macros v0.22.2
   Compiling rust_modules v0.1.0 (/Volumes/DATA/Projects/pyalipan/rust_modules)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.83s
📦 Built wheel for CPython 3.12 to /Volumes/DATA/Projects/pyalipan/rust_modules/target/wheels/rust_modules-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by messense
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant