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:
- Get the latest versions of PyQt and SIP. You need Qt installed of course.
- Configure SIP using
python configure.py --arch i386
- Configure PyQt using
python configure.py --use-arch=i386
- 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
- to your .bash_profile in your home directory
- If your Python still refuses to run in 32 bit mode, try
- arch -i386 python