![]() You are now ready to build and install MySQL-python:Įdit your ~/.bash_profile, add the following line:Įxport DYLD_LIBRARY_PATH=/usr/local/mysql/lib/ – You should now have mysql installed on /usr/local/mysqlĭownload the latest MySQL-python package hereĮdit site.cfg on your favorite text editor and change the mysql path as below: mysql_config = /usr/local/mysql/bin/mysql_config – At this point I am assuming that you are familiar with the Terminal, so simply execute the following commands on your Downloads folder:ĭownload the latest MySQL (64-bit, tar archive) here Here is a quick setup guide for installing Django and MySQL-python on Mac OS X Lion. Django is an excellent web-framework written in Python.
0 Comments
Leave a Reply. |