Installing Python MySQLdb on OS X Lion

Installing Python MySQLdb on OS X Lion

Tonight I tried installing a Python MySQLdb module, but when I ran the setup I got the following error: sh: mysql_config: command not found Traceback (most recent call last): File "setup.py", line 15, in metadata, options = get_config() File "/Users/markotomic/MySQL-python-1.2.3/setup_posix.py", line 43, in get_config libs = mysql_config("libs_r") File "/Users/markotomic/MySQL-python-1.2.3/setup_posix.py", line 24, in mysql_config raise EnvironmentError("%s […]

Read More