-
-
Notifications
You must be signed in to change notification settings - Fork 369
Description
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 build work?
- Yes, it works
If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?
- Yes
Steps to Reproduce
- use python 3.14 with or without freethread & venv
- install fastapi[standard]
- as a dependency, it failed there