0x01 安装Python36
我是以root用户登陆的,先按照hass.io的教程安装Python 3.61
2
3
4
5
6
7
8
9
10#配置 SCL 源
yum install centos-release-scl
#安装稍后需要的依赖包
yum install gcc gcc-c++ systemd-devel
#安装Python 3.6
yum install rh-python36
#安装完成后使能Python36
scl enable rh-python36 bash
#验证版本
python --version