Install python 3.6 on Ubuntu 20+ with distutils and pip support
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
Search and install something like python36-full
. Then you can use pip
with it:
python3.6 -m pip install [Package_to_install]