diff --git a/requirements.txt b/requirements.txt index 8fc9e370f..153f5283f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,5 +15,5 @@ pillow chardet flask-sqlalchemy ConfigParser -MySQL-python +MySQL-python==1.2.5 # pytest-shutil \ No newline at end of file diff --git a/scripts/install_centos.sh b/scripts/install_centos.sh index fea56da38..dc409237a 100755 --- a/scripts/install_centos.sh +++ b/scripts/install_centos.sh @@ -81,6 +81,7 @@ yum -y install $paces yum -y lsof net-tools.x86_64 yum -y install ncurses-devel mysql-dev locate cmake yum -y install python-devel.x86_64 +yum -y install MySQL-python yum -y install epel-release if [ ! -f '/usr/bin/pip' ];then