Skip to main content
Fix case, trim chat
Source Link
halfer
  • 20.2k
  • 19
  • 110
  • 207

Issue for mysql pythonMySQL and Python on installing

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.

Issue for mysql python on installing

I am trying to run a python django project as required version of 2.7 of python , django of 1.8 and mysql 5.7, so while installing the MySQL-python of 1.2.5, buidling the wheel its 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

i link the [email protected], so when i check which mysql_config i am getting /usr/local/opt/[email protected]/bin/mysql_config.

i have tried most of the solutions, i have installed mysql through brew.

tried installing mysqlclient in virutal env before django gets installed  , but when i tried installing mysqlclient in venv i 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

i am not able to figure whats the issue, and i am new to python.

any help will be appreciated.

Issue for MySQL and Python on installing

I am trying to run a Python Django project as required version of 2.7 of Python, Django of 1.8 and MySQL 5.7. While installing the MySQL-python of 1.2.5, building the wheel it'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

I link the [email protected], so when I check which mysql_config I am getting /usr/local/opt/[email protected]/bin/mysql_config.

I have tried most of the solutions, I have installed MySQL through brew.

I tried installing mysqlclient in virtual env before Django gets installed, but when I tried installing mysqlclient in venv I 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

I am not able to figure what the issue is, since I am new to Python.

edited tags
Link
Shadow
  • 34.5k
  • 10
  • 67
  • 76
Source Link
Beginner
  • 9.2k
  • 11
  • 50
  • 94

Issue for mysql python on installing

I am trying to run a python django project as required version of 2.7 of python , django of 1.8 and mysql 5.7, so while installing the MySQL-python of 1.2.5, buidling the wheel its 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

i link the [email protected], so when i check which mysql_config i am getting /usr/local/opt/[email protected]/bin/mysql_config.

i have tried most of the solutions, i have installed mysql through brew.

tried installing mysqlclient in virutal env before django gets installed , but when i tried installing mysqlclient in venv i 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

i am not able to figure whats the issue, and i am new to python.

any help will be appreciated.