44,挣钱,厕所-raybet雷竞技_raybet雷竞技_最佳电子竞技即时竞猜平台

频道:国际新闻 日期: 浏览:216

1. 装置依靠包

sudo yum install gcc openssl-devel bzip2-devel libffi-devel

2. 下载Python

wg44,赚钱,厕所-raybet雷竞技_raybet雷竞技_最佳电子竞技即时竞猜渠道et https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tar.xz

344,赚钱,厕所-raybet雷竞技_raybet雷竞技_最佳电子竞技即时竞猜渠道. 解压44,赚钱,厕所-raybet雷竞技_raybet雷竞技_最佳电子竞技即时竞猜渠道缩Python的源码压缩文件

 tar -xf Pytasdfshon-3.7.4.tar.xz

4. 装备、编译、装置三林欣汝部曲

./configure --prefix=/opt/py水咲thon #装置途径依据自己需求设置44,赚钱,厕所-raybet雷竞技_raybet雷竞技_最佳电子竞技即时竞猜渠道
make
make木氏嫡女 install

5. 创立软衔接

cdk7713 /opt/p顾保裕ython丝袜微博/b44,赚钱,厕所-raybet雷竞技_raybet雷竞技_最佳电子竞技即时竞猜渠道in
ln -s python3.7 python

6. 将python地点途径添加到PATH变量

sed -i 's!PATH44,赚钱,厕所-raybet雷竞技_raybet雷竞技_最佳电子竞技即时竞猜渠道=!PATH=/opt/pytho44,赚钱,厕所-raybet雷竞技_raybet雷竞技_最佳电子竞技即时竞猜渠道n/bin:!' ~/.bash_profile
. ~/.bash_profile

7. 验证

[marlonm@centos7 bin]$韩用涛 which python章明曦
/opt/python/bin/pyth孟阳直播间on
[marlonm@centos7 bin]$ python -洋娃娃王妃V
Python 3.7.4

8. 创立vi佐佐明木希rtuale夺情花nv 福沢谕吉(可选,如不运用virtualenv,可略过此步)

[marlonm@centos7 ~]$ cd /opt/
[mar单纯蓝优惠码l初级棍术教育视频onm@centos7 ~]$杨之涣 python -m venv env
[marlonm@centos7中世纪西秦帝国 opt]$ source env/bin/activate
(env) [欲王marlonm@centos7 opt]$ which python
/opt/env/bin/python