Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot Upgrade from python 3.5.2 to 3.6

I am running Linux Mint 18.1

The distro has pre-installed python 2.7 and python 3.5.2 .

what i would like to do is to upgrade python 3.5.2 to 3.6 or 3.6.1

i have tried this on the command line: sudo apt-get upgrade python3

and i get :

Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3 is already the newest version (3.5.1-3).
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

what should i do to upgrade python to 3.6 or 3.6.1 ?

like image 243
milouk Avatar asked May 03 '17 18:05

milouk


1 Answers

Just point the ppa, update and install:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6
like image 55
Gregory Avatar answered Sep 30 '22 06:09

Gregory