第一步:删除原python2连接 sudo rm /usr/bin/python 第二部:新建一个python3连接 sudo ln -s /usr/bin/python3.4 /usr/bin/python