1

I just started using homebrew, having no previous experience with package managers or virtual environments. I want to use PyGame, which only runs on 32-bit python 2.7, but keep the 64-bit version for everything else. How can I install the 32bit in a new virtual environment?

I know that you can force python to run in 32 bit mode through export VERSIONER_PYTHON_PREFER_32_BIT=yes but it seems unusable to set it every time i want to switch what Im working on.

On Mac OS X 10.6.8 and Python 2.7.5

Thanks!

Michał Czapliński
  • 1,332
  • 1
  • 14
  • 24
  • 2
    How about brewing a universal version of python `brew install python --universal` and then using `$ arch -i386 python` ? http://stackoverflow.com/questions/2088569/how-do-i-force-python-to-be-32-bit-on-snow-leopard-and-other-32-bit-64-bit-quest has more details – Hanxue Oct 18 '13 at 19:18

0 Answers0