I've been happily using (32-bit) Django and MySQL in development on an
existing machine running OS X 10.4 Tiger, and have set up a similar
environment in 10.5 Leopard on a new 64-bit MacBook, with a
(separately) working MySQL and Python 2.6.4.

Now I want them to communicate, easy_install MySQL-python gave ld
warnings that the file is not of the required architecture, so I
tested my Python 2.4.6 install (from the Mac OS X disc image)...

>>> import sys
>>> sys.maxint
2147483647

...my Python install is 32-bit and (I think?) won't install MySQL-
python for my 64-bit MySQL. There are lots of hacks out there for
MySQL-python on OS X (mostly 1.2.2), but - after hours of reading -
I'm pretty sure they won't fix this architecture mismatch. I'm posting
here because I can't decide whether to:

    * remove the 64-bit MySQL install (thorough method?) and install
the 32-bit MySQL (disc image);
    * re-install Python in 64-bit mode from the tarball,
      --with-universal archs-64-bit and --enable-universalsdk=
      as detailed in Python.org's 2.6 news.

So my questions for anyone who has encountered this issue are:

   1. Is installing 64-bit Python on OS X 10.5 worth bothering with?
   2. If so, (naive, lazy question!) how are the two required
arguments above combined?
   3. If I just skip along in 32-bit (as on my working setup) what am
I missing?

I'm after a hassle-free install that's easy to reproduce on other
machines (possible student use) so I'd really welcome opinions,
please!

---
PS if you're on stackoverflow and want some rep, here it is:
http://stackoverflow.com/questions/1969222/mysql-python-1-2-3-and-os-x-10-5-64-or-32-bit

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to