My setup is: 2.6.1 python (apple default, snow leopard), virtualenv, and using virtualenvwrapper
Outside the environment, everything runs in 32-bit which is fine. But with a new project I'm going to work on needs django 1.3 and tons of dependencies, so I made a virtualenv.
I've managed to install everything well, except that mysql-python (via pip) gets an error of "mach -o wrong architecture". I've checked my python interpreter with "import sys; sys.maxint" inside the virtualenv and python runs in 64-bit.
I've already set systemwide for python to run in 32-bit via "defaults write com.apple.versioner.python Prefer-32-Bit -bool yes"
Does anyone know why this happens inside the virtualenv?