Hi Namshin, Thank you for your reply.
What I did was that I installed a 64-bit MySQLdb to match my 64bit Mac. Then I found that my Python is 32bit. Would you know where to get binary 64bit Python? I only found 64bit Python source code. I understand that MySQLdb needs to interface into the binary of mysql, but I don't understand why it can't interface into Python library source code. After all, Python is an interpreted programming language, right? 64bit MySQLdb libraries just can't talk to 32bit Python libraries... That's one of the reasons why we use PostgresSQL at gsc. It seems to have a more user-friendly Python DB-API. On the other hand, it is a good thing that Pygr sqlgraph uses MySQLdb, since lots of bioinformatics dbs like ensembl and ucsc database system are mysql-based. To summarize, would you or someone else tell me where I could get a 64bit Python binary copy, so that I don't have to compile Python by hand? Thanks a lot, Jenny On Wed, Apr 29, 2009 at 12:33 AM, Namshin Kim <deepr...@gmail.com> wrote: > Hi Jenny, > I solved same problem before, mainly due to 32bit-64bit difference. My > solution was to give up 64-bit MySQL. If you install 32-bit MySQL in your > 64bit Mac, I think you can compile MySQLdb python module. > > Yours, > Namshin Kim > > > On Wed, Apr 29, 2009 at 4:29 PM, Jenny Qing Qian <jqian....@gmail.com>wrote: > >> Hi All, >> >> Pygr sqlgraph module depends on MySQLdb. >> >> The problem is that my Mac is 64 bits architecture. But somehow mysqldb is >> requiring a 32bit architecture when compiling it. >> >> Has anyone encountered the same problem? >> >> I will appreciate your help. >> >> Thanks, >> Jenny >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pygr-dev" group. To post to this group, send email to pygr-dev@googlegroups.com To unsubscribe from this group, send email to pygr-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pygr-dev?hl=en -~----------~----~----~----~------~----~------~--~---