MySQLdb under OS X Leopard
Stubbed my toe on this earlier today: The MySQLdb adapter must be compiled using the same architecture as the python you want to use it with. OS X Leopard ships with 32-bit Python, so to install it I had to manually set ARCHFLAGS=”-arch i386″ before building.
Also, for some reason clean did not empty the build directories. If you see a very short build (i.e. no compiler messages), manually clear the ./build directory.
Advertisement
