Building a manylinux wheel fails with "Invalid python interpreter version" #946
-
I'm trying to build a python
I basically copy-pasted these github action steps. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
You should not just copy-paste commands without understanding what it does and what it requires to work. That command was running in a manylinux docker container so it won't work for you on macOS without using Docker. You can simply run |
Beta Was this translation helpful? Give feedback.
You should not just copy-paste commands without understanding what it does and what it requires to work. That command was running in a manylinux docker container so it won't work for you on macOS without using Docker.
You can simply run
maturin build --no-sdist --release --strip --manylinux 2014 -i python3.9 --target x86_64-unknown-linux-gnu
instead and maturin will use a bundled Linux Python 3.9 configuration for you automatically when you're using maturin v0.12.15+.