First delete 3.4
sudo rm /usr/bin/python3
sudo ln -s /usr/bin/python3.6 /usr/bin/python3
in
1, download Python3
wget http://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz
2, the download is complete, extract
tar -xvzf Python-3.6.4.tgz
3, after the extraction is completed, switching to the folder Python3
cd ./Python-3.6.4
4, respectively execution
-
./configure --with-ssl
-
-
make
-
-