Here’s what I would install, especially if you want to use homebrew:
- XCode and the command line tools (as suggested by @7stud, @kjti)
- Install homebrew
brew install mysql-connector-c
pip install mysql-python
More Related Contents:
- How to install MySQLdb (Python data access library to MySQL) on Mac OS X?
- Mac OS X – EnvironmentError: mysql_config not found
- Python: MySQLdb and “Library not loaded: libmysqlclient.16.dylib”
- Python import MySQLdb error – Mac 10.6
- mysql-python installation problems (on mac os x lion)
- Install mysqlclient for Django Python on Mac OS X Sierra
- MySQL parameterized queries
- How do I determine if my python shell is executing in 32bit or 64bit?
- PyInstaller, spec file, ImportError: No module named ‘blah’
- Cannot install Lxml on Mac OS X 10.9
- Load CSV data into MySQL in Python
- What is the most compatible way to install python modules on a Mac?
- How to replace Django’s primary key with a different integer that is unique for that table
- How to reinstall python@2 from Homebrew?
- Error loading MySQLdb Module ‘Did you install mysqlclient or MySQL-python?’
- Python MYSQL update statement
- IOError: [Errno 24] Too many open files:
- MySQL: Get column name or alias from query
- Multiprocessing causes Python to crash and gives an error may have been in progress in another thread when fork() was called
- Psycopg2 image not found
- How to properly stop phantomjs execution
- PYTHONPATH not working for sudo on GNU/Linux (works for root)
- InterfaceError (0, ”)
- What’s the difference between MySQLdb, mysqlclient and MySQL connector/Python?
- Can’t install Tensorflow Mac
- Can’t install pygame on mac
- Updating Python on Mac
- Python PyQt on macOS Sierra
- Print results in MySQL format with Python
- flask-login: can’t understand how it works