centos7.x安装python3.9,并安装pymysql

前言

安装python3.9,用于数据同步用途

安装配置

]# yum -y install epel-release
]# yum install -y python39
]# yum -y install python39-setuptools
]# yum -y install python39-pip
]# pip3 install --upgrade --user pip
]# pip3 install --user PyMySQL
]# ln -snf /usr/bin/easy_install-3.9 /usr/bin/easy_install
]# easy_install pymysql

授权用户

usermod -aG wheel username

结语

你可能感兴趣的:(mysql,python3,python,linux,开发语言)