用yum方式安装python3:
sudo yum install epel-release
sudo yum install python34
测试:
[root@VM_221_21_centos ~]# vim helloworld.py
[root@VM_221_21_centos ~]# python helloworld.py
helloworld
用yum方式安装python3:
sudo yum install epel-release
sudo yum install python34
[root@VM_221_21_centos ~]# vim helloworld.py
[root@VM_221_21_centos ~]# python helloworld.py
helloworld
转载于:https://www.cnblogs.com/linkcode/p/8150740.html