install python code example

Example 1: install pip3

sudo apt install python3-pip

Example 2: ubuntu install python

# first do:
sudo apt-get update
# after do:
sudo apt-get install python3.6
# then it should be installed

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: how to install python libraries

python -m pip install SomePackage

Example 6: pip python3

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py