I am trying to run a python djangoPython Django project as required version of 2.7 of python Python, djangoDjango of 1.8 and mysqlMySQL 5.7, so while installing. While installing the MySQL-python of 1.2.5, buidlingbuilding the wheel itsit's breaking and getting the below error:
Building wheel for MySQL-python (setup.py) ... error
ERROR: Command errored out with exit status 1:
error: command 'cc' failed with exit status 1
iI link the [email protected], so when iI check which mysql_config iwhich mysql_config I am getting /usr/local/opt/[email protected]/bin/mysql_config./usr/local/opt/[email protected]/bin/mysql_config.
iI have tried most of the solutions, iI have installed mysqlMySQL through brew.
I tried installing mysqlclient in virutalvirtual env before djangoDjango gets installed , but when iI tried installing mysqlclient in venv iI am getting the same error.
Building wheel for mysqlclient (setup.py) ... error
ERROR: Command errored out with exit status 1:
error: command 'cc' failed with exit status 1
iI am not able to figure whatswhat the issue is, and isince I am new to python.
any help will be appreciatedPython.