steven@192 PyMySQL-0.10.0 % cd /usr/local/include/mysql steven@192 mysql % ls errmsg.h my_compress.h mysql.h mysql_version.h mysqlx_error.h field_types.h my_list.h mysql_com.h mysqld_error.h mysqlx_version.h my_command.h mysql mysql_time.h mysqlx_ername.h steven@192 mysql % cp mysql.h my_config.h steven@192 mysql % pip install MySQL-python DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Defaulting to user installation because normal site-packages is not writeable Collecting MySQL-python Using cached MySQL-python-1.2.5.zip (108 kB) Building wheels for collected packages: MySQL-python Building wheel for MySQL-python (setup.py) ... done Created wheel for MySQL-python: filename=MySQL_python-1.2.5-cp27-cp27m-macosx_11_4_x86_64.whl size=44343 sha256=8d0732701cba17e4cfe5876ff1b64119637e475451a548ecbadc603f002dffad Stored in directory: /Users/steven/Library/Caches/pip/wheels/55/eb/3b/661bdcd5ca5a576f0331400468db9d5dcbda118fb6c85fd3ee Successfully built MySQL-python Installing collected packages: MySQL-python Successfully installed MySQL-python-1.2.5