1 yum -y install epel-release #配置erel源
2 yum -y install python-pip
3 pip install mycli #用pip安装
可能会出现以下错误
![](https://img-blog.csdnimg.cn/2022010704354279696.png)
![](https://images2015.cnblogs.com/blog/1024651/201609/1024651-20160918234510894-1821709058.png)
yum install python-devel
然后再安装MyCli就可以了
命令行输入 mycli 就可以了
![](https://img-blog.csdnimg.cn/2022010704354394799.png)
转载于:https://www.cnblogs.com/koushuige/p/9372570.html