Error: command error out with exit status 1: Python when installing mysqlclient in django2.0 setup.py egg_ info

Environment: centos7 + django2.0 + Python 3.6

Django2.0 needs to install pymysql and mysqlclient to connect with MySQL

pip3 install PyMySQL

pip3  install  mysqlclient

 

Error in installing mysqlclient

Then install the dependency

yum install  mysql-devel

yum install python-devel

Install PIP3?Install?Mysqlclient?OK again!!!!!!!

Read More: