Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maturin not finding pyenv python #2312

Open
2 tasks done
nephi-dev opened this issue Nov 19, 2024 · 2 comments
Open
2 tasks done

Maturin not finding pyenv python #2312

nephi-dev opened this issue Nov 19, 2024 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@nephi-dev
Copy link

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
@nephi-dev nephi-dev added the bug Something isn't working label Nov 19, 2024
@messense
Copy link
Member

I think none of the maintainers have used pyenv on Windows, so this is unlikely to be fixed by us anytime soon. Feel free to investigate and send a PR to fix it if you are up to it.

@messense messense added the help wanted Extra attention is needed label Nov 20, 2024
@nephi-dev
Copy link
Author

I don't know exactly on what version, but this bug was not happening before

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants