Invalid Python interpreter when using "maturin develop" #1121
Replies: 2 comments 2 replies
-
Sorry I don't have Windows environment, but I think |
Beta Was this translation helpful? Give feedback.
-
I'm having similar issues, also on windows. I have a python interpreter that Maturin is missing - D:\Users\[my name]\miniconda3\envs\dev\python.exe Same as you, I added environment variables PYO3_PYTHON and PYTHON_SYS_EXECUTABLE for both user and system, which did not help. Running
Why is it looking in scripts? 😔 Running
It's only finding the interpreter in the base environment, which is the opposite of what it's supposed to be doing according to this blurb from https://github.com/PyO3/maturin#pyo3-and-rust-cpython : On windows all versions from the python launcher (which is installed by default by the python.org installer) and all conda environments except base are used. I was hoping that the |
Beta Was this translation helpful? Give feedback.
-
Full error:
(venv) F:\Projects\Python Projects\punge\rust>maturin develop
🔗 Found pyo3 bindings
💥 maturin failed
Caused by: The given list of python interpreters is invalid
Caused by: Python interpreter
F:\Files at random\theoretical python\punge\venv\python.exe
doesn't exist-But does show up in python when using "os.environ["PATH"]".
Any help would be appreciated
Beta Was this translation helpful? Give feedback.
All reactions