pip3 install python code example

Example 1: install pip3

sudo apt install python3-pip

Example 2: install selenium python

# for Windows
pip install selenium

# for Linux/Max
pip3 install selenium
# or
sudo -H pip3 install selenium

Example 3: python pip install

## 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

Example 4: python3 pip install

[server]$  python3 -m pip install

Example 5: sudo pip3 install

[server]$ pip3 --version
pip 18.1 from /home/username/opt/python-3.6.2/lib/python3.6/site-packages/pip (python 3.6)

Example 6: how to download packages using pip

pip install package name