Python2.7安装 MySQLdb Python2.7安装 MySQLdb 安装环境 安装过程 1.尝试使用pip安装 2、离线源码安装 Python2.7安装 MySQLdb 安装环境 环境:CentOS Linux release 7.6.1810 (Core) python版本:2.7 安装过程 1.尝试使用pip安装 提示-bash: pip: command not found 使用yum安装pip也失败 使用脚本安装,执行以下命令后,pip安装成功。 wget https://bootstrap.pypa.io/pip/2.7/get-pip.py chmod +x get-pip.py ./get-pip.py