I have a nasty feeling that this can be done using 32-bit Python and / or 64-bit Mercurial, but I'm new to Mac computers and I don't quite understand the background.
I run Django and I have Mercurial and Python 2.6 installed (in both cases the default versions are from Macports). I set 32-bit Python as an environment variable:
export VERSIONER_PYTHON_PREFER_32_BIT=yes
since without it, Mercurial refused to launch and said "there is no suitable 64-bit architecture."
When I try to start Django (or Mercurial), I get
ImportError at /
dlopen(/lib/python2.6/site-packages/mercurial/osutil.so, 2): no suitable image found. Did find:
/lib/python2.6/site-packages/mercurial/osutil.so: no matching architecture in universal wrapper
Google doesn't help much here. What's happening? Should I reinstall another version of Mercurial, and if so, what do I need?
Thanks in advance. Very puzzled.