https://www.python.org/downloads/windows/
https://www.python.org/ftp/python/3.10.11/python-3.10.11-embed-amd64.zip
unzip file
cd python-3.10.11-embed-amd64
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
or
https://bootstrap.pypa.io/pip/pip.pyz (experimental)
run python pip.pyz
notepad python311._pth
# Uncomment to run site.main() automatically
import site
uncommenting this allows to run pip
alt method
rename
python311._pth and
set environments:
set PY_PIP=d:\python-3.10.11-embed-amd64\Scripts
set PY_LIBS=d:\python-3.10.11-embed-amd64\Lib;python-3.10.1-embed-amd64\Lib\site-packages
Comments
Post a Comment