no module name pip in cmd code example
Example 1: no module named pip
for Windows:
python -m ensurepip
Example 2: no module named pip
sudo apt-get install python3-pip
for Windows:
python -m ensurepip
sudo apt-get install python3-pip