用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