install an embedded python on Windows
download zip file from https://www.python.org/downloads/windows/, unzip it and add it to the path environment variable
download get-pip.py from https://bootstrap.pypa.io/get-pip.py
run command
1
python get-pip.py
add pip path to the path in environment variable
when running pip -V there is error
ModuleNotFoundError: No module named ‘pip’In order to fix this, we have to do as below:
open python38._pth and add the following paths to it1
2
3C:\Dev\softwares\python-3.8.0-embed-amd64\Scripts
C:\Dev\softwares\python-3.8.0-embed-amd64\Lib
C:\Dev\softwares\python-3.8.0-embed-amd64\Lib\site-packages