## To install Pip, first download get-pip.py from:
https://bootstrap.pypa.io/get-pip.py
## Then run the following command in the command line
## in the folder where the file has been saved.
python get-pip.py
download pip
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
#install pip
sudo python2.7 get-pip.py
py -m ensurepip --upgrade
python -m pip install --upgrade pip ## work like a charm
pip install package name
curl -sSl https://bootstrap.pypa.io/get-pip.py | python
# in Powershell, e.g. install pandas
pip install pandas
# in Bash
sudo apt install python3-pandas
# if you want to just install on the terminal do pip install tkinter
import os
os.system("cmd /c 'pip install tkinter'")
"""to install a python module just use pip command"""
"""open cmd as administrator and write this command"""
pip install <package-name>
"""for ex. pip install pandas"""
##before writing command first change environment variable to your pip file location