See below to install Python 3.6 or 3.7
sudo -E add-apt-repository ppa:deadsnakes/ppa sudo apt-get update sudo apt-get install python3.6 sudo apt-get install -y libpython3.6-dev
ImportError: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory