Instalacja pakietu pod konkretną wersję pythona:
Domyślna wersja:
# python -V
Python 3.13.0
Instalacja pakietu dla versji innej niż domyślnna (3.12)
# py -3.12 -m pip install ydata-profiling
CMD – update pip
C:\Users\john\AppData\Local\Programs\Python\Python312\python.exe -m pip install --upgrade pip
Python launcher:
# py -h Python Launcher for Windows Version 3.13.0 usage: py [launcher-args] [python-args] [script [script-args]] Launcher arguments: -2 : Launch the latest Python 2.x version -3 : Launch the latest Python 3.x version -X.Y : Launch the specified Python version
Wszystkie wersje zainstalowane na systemie (-0 to błędny argument)
# py -0 -V:3.13 * Python 3.13 (64-bit) - * domyślna -V:3.12 Python 3.12 (64-bit)