(Jul-30-2023, 02:41 PM)leodavinci1990 Wrote: I cannot find the Python Launcher Configuration File (.INI)That's because Configuration File is not needed bye
py.exe
(Python Launcher),so you have to create it but should needed at all.As it is cli tool it has help look at
py --help
So can can launch every version installed(
py --list
) or pip install to specific version.G:\div_code λ py -3.9 -V Python 3.9.5 # The dead one G:\div_code λ py -2.7 -V Python 2.7.9 # Just py always newest version G:\div_code λ py -V Python 3.11.3Let say i want to install to an older version eg 3.9.
G:\div_code λ py -3.9 -m pip install requests ..... Requirement already satisfied: certifi>=2017.4.17 in c:\python39\lib\site-packages (from requests) (2020.12.5)Make a virtual environment using old 3.6.
G:\div_code λ py -3.6 -m venv 36_env G:\div_code λ cd 36_env\ G:\div_code\36_env λ G:\div_code\36_env\Scripts\activate # See now that it will use 3.6 (36_env) G:\div_code\36_env λ python -V Python 3.6.4 (36_env) G:\div_code\36_env λ pip -V pip 9.0.1 from g:\div_code\36_env\lib\site-packages (python 3.6) (36_env) G:\div_code\36_env