[Windows]
- download embeddable package from https://www.python.org/downloads (like python-3.11.9-embed-amd64.zip)
- in the file
python*._pth
, uncomment the line#import site
- download
get-pip.py
(https://bootstrap.pypa.io/get-pip.py) - open terminal
- set path to the python folder, like
path=d:\python-3.11.9-embed-amd64;d:\python-3.11.9-embed-amd64\Scripts
- run
python get-pip.py
- run
pip install virtualenv
to check if pip is working