centos python3.4更新到3.6 python3.4是yum安装的就直接执行命令: yum update python34 -y 如果是通过源码安装的,就需要下3.6源码包,重新解压,编译,安装