sudo apt install python3.8
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.x #change x to the python version you like to install
wget https://www.python.org/ftp/python/3.7.5/Python-3.7.5.tgz
python -m pip show scikit-learn # to see which version and where scikit-learn is installedpython -m pip freeze # to see all packages installed in the active virtualenvpython -c "import sklearn; sklearn.show_versions()"