read
apt update
apt-get install software-properties-common
add-apt-repository ppa:jonathonf/python-3.6
apt update

sudo apt install python3.6
sudo apt install python3.6-dev
sudo apt install python3.6-venv

wget https://bootstrap.pypa.io/get-pip.py
sudo python3.6 get-pip.py
sudo ln -s /usr/bin/python3.6 /usr/local/bin/python3
sudo ln -s /usr/local/bin/pip /usr/local/bin/pip3

Do this only if you want python3 to be the default Python instead of python2 (may be dangerous, esp. before 2020): sudo ln -s /usr/bin/python3.6 /usr/local/bin/python

Blog Logo

Giovanni Crescencio Ahuactzi

Soy Gyo un blogero que disftruta de la tecnologia


Published

Image

Gyo&Joe

Blog personal de Gyo

Back to Overview