From d938affe9beeb1d751ec3e459e55747877fab9b9 Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 9 Jul 2020 19:26:34 +0800 Subject: [PATCH] up --- requirements.txt | 2 +- scripts/install_centos.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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