1. 程式人生 > >Centos安裝Python3.7

Centos安裝Python3.7

libffi tps ffi ftp http configure usr yum dev

yum install libffi-devel -y wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz && tar -zxf Python-3.7.0.tgz && cd Python-3.7.0 ./configure --prefix=/usr/python make && make install mv /usr/bin/python /usr/bin/python.bak ln -s /usr/python/bin/python3 /usr/bin/python3 mv /usr/bin/python.bak /usr/bin/python

Centos安裝Python3.7