sudo apt install python2.7 python2.7-dev -y && curl -O https://bootstrap.pypa.io/pip/2.7/get-pip.py && sudo python2.7 get-pip.py
sudo apt install python3-pip
$ curl -O https://bootstrap.pypa.io/get-pip.py
$ sudo python3.2 get-pip.py
# install pakage to python2
pip install --upgrade sentry-sdk
curl -O https://bootstrap.pypa.io/pip/2.7/get-pip.py
python get-pip.py
pip2 install termcolor
You cannot just pip install python3 because it is not a library.
If you want to install the latest python3:
https://www.python.org/ftp/python/3.8.2/python-3.8.2.exe