maturin icon indicating copy to clipboard operation
maturin copied to clipboard

wrong error message when interpreter not found

Open trim21 opened this issue 7 months ago • 0 comments

Bug Description

when multiple interpreter give, and second interpreter not found, it still show first one not found in the error message

❯❯ ~/proj/uuid-utils (main) maturin build --release -i 3.9 pypy3 --out dist
📦 Including license file "C:\Users\Trim21\proj\uuid-utils\LICENSE.md"
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings with abi3 support
⚠️  Warning: Failed to determine python platform
💥 maturin failed
  Caused by: Python interpreter `3.9` doesn't exist

Your maturin version (maturin --version)

maturin 1.8.6

Your Python version (python -V)

not related

Your pip version (pip -V)

not related

What bindings you're using

pyo3

Does cargo build work?

  • [x] Yes, it works

If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?

  • [x] Yes

Steps to Reproduce

run maturin build --release -i 3.9 pypy3 --out dist

trim21 avatar May 23 '25 13:05 trim21