必要なライブラリ †
SQLObject †Mac OS X でのインストールは以下のコマンド一発 $ sudo easy_install -U SQLObject MySQL for Python †Mac OS X で MySQL for Python を build すると In file included from /usr/local/mysql/include/mysql.h:47, from _mysql.c:40: /usr/include/sys/types.h:92: error: duplicate ‘unsigned’ /usr/include/sys/types.h:92: error: two or more data types in declaration specifiers error: command 'gcc' failed with exit status 1 といったエラーが発生する。 //#ifndef uint //#define uint unsigned int //#endif 参考:How to install Django with MySQL on Mac OS X MySQLdb † |