Skip to content

Maturin not finding pyenv python #2312

@nephi-dev

Description

@nephi-dev

Bug Description

Maturin could not find any interpreters
when i try to run maturin list-python it only shows

💥 maturin failed
  Caused by: Could not find any interpreters, are you sure you have python installed on your PATH?

and python is installed and is on my path
image
image
image

Your maturin version (maturin --version)

1.7.4

Your Python version (python -V)

3.12.6

Your pip version (pip -V)

24.3.1

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

  1. run maturin list-python
  2. run pyenv which python

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions