I face this problem when I want to install mysql-python on osx 10.8, it show error with \'my_config.h\' file not found.
Below is my running code:
sud
What worked for me in Nov 2020 for Catalina 10.15.7 and Python 2.7.16 was a combination of two answers:
Step 1: https://stackoverflow.com/a/61800247/14686220
However, instead of simply copying mysql.h
file as my_config.h
in the include/
directory (which can be dangerous), I copied the my_config.h
file from the official MySQL docs
Step 2: https://stackoverflow.com/a/54079052/14686220