This script change different python version by modify PATH environment variable
It will remove all PythonXX\ and PythonXX\Scripts\ in PATH,
and add corresponding target version tag folder to PATH
Only temporarily works on the current process if without -keep flag
Add folder of this script to PATH first
Modify usepython-config.json to set root folder path for python folders If necessary
It should be "C:\\" or "C:\\Program Files\\", by default it is "C:\\"
Usage: usepython `$version_tag [-keep] [-root `$path]
version_tag: 311, 310, 39, 38, 37, 36
keep: Set persistent modification, require admin permission
root: Specify root folder path for python folders instead of usepython-config.json
Example:
usepython 38
usepython 39 -keep
usepython 310 -root "C:\\"
usepython 311 -keep -root "C:\\Program Files\\"
-
Notifications
You must be signed in to change notification settings - Fork 0
Python version router for window
License
CWKSC/PythonVersionRouter
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Python version router for window
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published