PyQt and Snow Leopard

xster
xster
Published in
1 min readNov 14, 2009

There are some 64-bit related issues when using PyQt and Snow Leopard. There’s the way to resolve it by reverting to 32-bits:

  1. Get the latest versions of PyQt and SIP. You need Qt installed of course.
  2. Configure SIP using
python configure.py --arch i386
  1. Configure PyQt using
python configure.py --use-arch=i386
  1. Finally, make sure your python is running in 32-bit mode because current Qt doesn’t support 64-bit mode. Add
  • export VERSIONER_PYTHON_PREFER_32_BIT=yes
  1. to your .bash_profile in your home directory
  2. If your Python still refuses to run in 32 bit mode, try
  • arch -i386 python

--

--