Replies: 3 comments 5 replies
-
from the documentation there are no way to change default python in windows system |
Beta Was this translation helpful? Give feedback.
-
There is no way other than manual management of your PATH. However, I would question the usefulness of selecting a global default distribution for manual use. I dislike the approach taken by pyenv because users often break their setups by modifying the distribution (like installing packages) rather than creating virtual environments from them. You made me think of something however: would it be useful to you if there was a command where you could drop in to a temporary virtual environment to hack on stuff and then exiting would remove it? |
Beta Was this translation helpful? Give feedback.
-
Thank you @ofek honestly I want to change Python version that I want to use for my project/virtual environment, sometimes the latest Python version (3.12) doesn't support some packages like pygame, etc.
|
Beta Was this translation helpful? Give feedback.
-
Hello new python user here, is there a way for hatch to control default python when typing in terminal?
like pyenv command global or local
global -> will change default version python to selected version in global use
local -> will change default version python in selected directory
Beta Was this translation helpful? Give feedback.
All reactions