Psyco is a Python extension module which can greatly speed up the execution of any Python code.
Psyco is basically a Just In time compiler or a JIT, but as of March 10, 2010 it doesnt work on 64 bit systems. If you recently bought a mac then your OS is 64 bits.You used to have to recompile python to the 32 bit ver.
Well no more just run this
defaults write com.apple.versioner.python Prefer-32-Bit -bool yes

How did you install psyco itself? It fails when I install it using pip in virtualenv.
Cheers,
Tomas
Same problem here: I set the defaults, but…
svn co http://codespeak.net/svn/psyco/dist/ psyco-dist
cd psyco-dist
python setup.py install
…still fails with
/codegen.h:15:3: error: #error “—————————————————–”
c/codegen.h:16:3: error: #error “Sorry, non-32-bit platforms are not supported at all.”
c/codegen.h:17:3: error: #error “You may try with a Python compiled in 32-bit ”
c/codegen.h:18:3: error: #error “compatibility mode. Note that Psyco will probably ”
c/codegen.h:19:3: error: #error “never support non-32-bit platforms, as it is no ”
c/codegen.h:20:3: error: #error “longer actively developed. Instead, the PyPy group ”
c/codegen.h:21:3: error: #error “plans to replace it with a more flexible and easily ”
c/codegen.h:22:3: error: #error “retargettable Psyco-for-PyPy during the year 2006. ”
c/codegen.h:23:3: error: #error “See http://codespeak.net/pypy/ ”
c/codegen.h:24:3: error: #error “—————————————————–”
In file included from c/i386/idispatcher.c:4,
Any help appreciated.