1.为什么Linux装了python3后yum命令使用不了了?
centos系统的yum软件依赖python2,所以安装python3后需要建一个指向python3的软链,而不是将原先的python2的软链替换。
2.Linux中安装python3时make命令报错咋办?
python3对环境是有依赖的,yum安装一下环境依赖
# yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel