跟着步骤走~~ 懒人养成第一步
不仅帮你补全 甚至预判你的预判,就问你可怕不可怕
yum -y install epel-release
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel gcc
tar -zxvf Python-3.9.0.tgz
yum -y install libffi-devel zlib* python-devel openssl-devel
cd Python-3.9.0/
./configure --prefix=/usr/local/python --with-ssl
make && make install
ln -s /usr/local/python/bin/python3 /usr/bin/
echo 'export PATH=/usr/local/python/bin:$PATH' >> /etc/profile
source /etc/profile
pip3 install mycli
mycli -u root -p <密码> #mycli -u root -p abc123
手机扫一扫
移动阅读更方便
你可能感兴趣的文章