install pip inside python code example
Example 1: install pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
Example 2: how to install pip
python -m ensurepip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
python -m ensurepip