Shellbye.github.io icon indicating copy to clipboard operation
Shellbye.github.io copied to clipboard

CentOS 7.4 install mysqlclient using pip

Open Shellbye opened this issue 6 years ago • 0 comments

当你按照完MySQL之后( #18 ),要想用Django连接MySQL,需要mysqlclient,其安装之前,依赖mariadb-devel

sudo yum install mariadb-devel -y
pip install mysqlclient

参考: https://stackoverflow.com/questions/13922955/installing-mysql-python-without-mysql-server-on-centos#comment64094839_36780350

Shellbye avatar May 09 '18 03:05 Shellbye