运维开发网

Python3.7.4安装

运维开发网 https://www.qedev.com 2020-07-07 16:21 出处:网络 作者:运维开发网整理
1.下载:wget  https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz 解压:tar zxvf Python-3.7.4.tgz

1.下载:wget  https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz

解压:tar zxvf Python-3.7.4.tgz

cd Python-3.7.4.tgz

./configure

make all

yum install libffi-devel

make install

make clean

make distclean

安装成功

位置:/usr/local/bin/python3.7

 

 

安装pip

curl https://bootstrap.pypa.io/ez_setup.py | python3.7

wget https://files.pythonhosted.org/packages/00/9e/4c83a0950d8bdec0b4ca72afd2f9cea92d08eb7c1a768363f2ea458d08b4/pip-19.2.3.tar.gz

/usr/bin/python3/7 setup.py install
0

精彩评论

暂无评论...
验证码 换一张
取 消