Zaktualizuj Python Ubuntu
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install python3.7
Ankur
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install python3.7
sudo apt install python3.8
sudo apt-get install python3.7
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.8
#First enter the following command to the terminal
@pip3 --version
# after that
@if it doesnt give a result like pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)
# enter the following commands
sudo apt install python3-pip
sudo apt install python3-pip3
#Thats all
#Ranuga D
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()"