Python Startup Posted on 2019-05-14 Edited on 2023-10-07 In Tech Symbols count in article: 287 Reading time ≈ 1 mins. InstallInstallation python1234567891011# installyum install python36# 如果有旧版本,例如python2,修改默认pythoncd /usr/binrm -rf pythonrm -rf python2 # 是否需要?ln -s python3.4 python# checkpython -V Q&A 解决系统python软链接指向python2.7版本后,yum不能正常工作 修改/usr/bin/yum,将文件头部的 1#!/usr/bin/python 改成 1#!/usr/bin/python2.4.3