linux下安装python3

下载,解压,编译,安装:wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgztar -xvf Python-3.6.0.tgz./configure --prefix=/usr/local/python3make make install链接ln -s /usr/local/python...

 

下载,解压,编译,安装:

wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz

tar -xvf Python-3.6.0.tgz

./configure --prefix=/usr/local/python3

make &&make install

链接

ln -s /usr/local/python3/bin/python3 /usr/bin/python3

配置pip3

PATH=$PATH:$HOME/bin:/usr/local/python3/bin

 

本文标题为:linux下安装python3

基础教程推荐