用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
linkcode 2017-12-17 20:48 原文
用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