On Aug 19, 12:52 pm, shabda <[EMAIL PROTECTED]> wrote: > I am trying to setup django with mysql, After installing django and > mysql I am trying to set up mysql-python. > So I give the command > $ easy_install MySQL-python > And am getting a ton of errors. > On the pagehttp://www.djangobook.com/en/beta/chapter02/, under > comments for mysql it says, > "Don't forget when building MySQLDB MySQL needs to be in the path. If > it isn't you will get tons of errors. ;)" > I think this might be my problem. How do I do this?
Mysqldb has certain dependencies to be to be fulfilled like "build-requires = python-devel mysql-devel zlib-devel openssl- devel" (pasting from setup.cfg). Check if you have these dependencies installed. Certain Linux Distributions like Debian, Ubuntu offer the latest Mysqldb package through their package managers (don't try this if you are on Fedora). I would recommend you install it from http://sourceforge.net/projects/mysql-python Cheers Thejaswi Puthraya --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---