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

Error: command error out with exit status 1: Python setup.py egg_ info Check the logs for full command output.

Solution

ln -s /usr/local/mysql/bin/mysql_config /usr/local/bin/mysql_config

Or a mistake

yum install mysql-devel

Read More: