Can't install under python 3.14 with/without free thread. #3020
Unanswered
niebaopeng
asked this question in
Q&A
Replies: 1 comment
-
|
I can install |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Description
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
📦 Including license file
LICENSE🔗 Found pyo3 bindings
💥 maturin failed
Caused by: Python interpreter should be a kind of interpreter (e.g. 'python3.8' or 'pypy3.9') when cross-compiling, got path to interpreter: /home/nieba/下载/fastapi_example/venv/bin/python3
Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-ehyivbu5', '--interpreter', '/home/nieba/下载/fastapi_example/venv/bin/python3']' returned non-zero exit status 1.
Checking for Rust toolchain....
Running
maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-ehyivbu5 --interpreter /home/nieba/下载/fastapi_example/venv/bin/python3[end of output]
it can read python3.14 or 3.14t or something like that
Your maturin version (
maturin --version)unknown
Your Python version (
python -V)3.14 and 3.14t
Your pip version (
pip -V)newest
What bindings you're using
pyo3
Does
cargo buildwork?If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash
/)?Steps to Reproduce
Beta Was this translation helpful? Give feedback.
All reactions