-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Utilize py
launcher on windows for pdm use
and pdm venv
#2225
Labels
⭐ enhancement
Improvements for existing features
Comments
The python finder nows reads from the same source as |
Ah my mistake, > pdm use 3.10
Please enter the Python interpreter to use
0. C:\Users\p.rogalski\AppData\Local\Programs\Python\Python310-32\python.exe (3.10-32)
1. C:\Users\p.rogalski\AppData\Local\Programs\Python\Python310\python.exe (3.10) > pdm use 3.10-32
[NoPythonVersion]: No Python interpreter matching 3.10-32 is found. |
No you can't, just choose from the listed interpreters and I think it's just easy enough. |
Ok fair enough, thank you for your time! |
frostming
added a commit
that referenced
this issue
Sep 4, 2023
Close #2225 Signed-off-by: Frost Ming <[email protected]>
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Python interpreters can be specified for the commands
pdm use
andpdm venv
. However the full path to the Python interpreter must be given.Alternatively all the Python interpreters can be added to PATH, which creates a big mess on Windows, since all Python executables are named the same. This mess is solved by the
py
launcher on Windows: https://docs.python.org/3/using/windows.html#python-launcher-for-windowsDescribe the solution you'd like
It would be really helpful if PDM could utilize the
py
launcher to find Python executables. Specifically if you could specify the same version selectors like for thepy
launcher. Some examples:References
The text was updated successfully, but these errors were encountered: