0

I'm trying to install MySql-python library in mac 10.13.5. But I can't able to install. It throwing an error like

_mysql.c:44:10: fatal error: 'my_config.h' file not found
#include "my_config.h"
         ^~~~~~~~~~~~~
1 error generated.
error: command 'cc' failed with exit status 1

could someone give the right solution to install in mac HighSierra

bhasker
  • 31
  • 1
  • 1
  • 3
  • I hope the information on this [link](https://stackoverflow.com/questions/45765671/install-mysql-python-on-macos-high-sierra) helps – kellymandem Oct 22 '18 at 11:05
  • Thank you, I tried all the methods which they mention in that link. But nothing is working out @kellymandem – bhasker Oct 22 '18 at 11:23
  • try the solutions in this [link](https://stackoverflow.com/questions/21638444/error-command-cc-failed-with-exit-status-1-mysqldb-installation-on-mac#22633553) then and let me know how that goes – kellymandem Oct 22 '18 at 11:57
  • No, It's not working. I tried everything @kellymandem – bhasker Oct 22 '18 at 12:14
  • try the solutions [here](https://stackoverflow.com/questions/50864438/mac-pip-install-mysql-python-unsuccessful), i am sure this might work – kellymandem Oct 22 '18 at 15:16
  • Possible duplicate of [Mac pip install mysql-python unsuccessful](https://stackoverflow.com/questions/50864438/mac-pip-install-mysql-python-unsuccessful) – phd Oct 22 '18 at 20:31

0 Answers0