Warning: The Linux binaries of Psyco 1.1 have been compiled for the recent glibc-2.3, which means that they will not work on what is currently still most systems! In the future I may switch back to glibc-2.2, or I may stop releasing Linux binaries altogether because it is incredibly easy to compile from the source (see section 1.3 -- you don't need to be root to do that). Also note that at least some versions of Psyco have been successfully used on other PC Unixes like FreeBSD.
To install from the binaries, be sure to download the version of Psyco that corresponds to your Python version. Binary released are at http://sourceforge.net/project/showfiles.php?group_id=41036. Four pre-compiled versions are currently distributed:
File name | Python versions | Well-tested with |
---|---|---|
psyco-x.y-OS-2.1 | 2.1 or any 2.1.x | 2.1.3 |
psyco-x.y-OS-2.2.0-1 | 2.2 older than 2.2.2 | 2.2.1 |
psyco-x.y-OS-2.2.2 | 2.2.2 and up | 2.2.2 and 2.2.3 |
psyco-x.y-OS-2.3 | 2.3 and up | 2.3 |
x.y is the Psyco version number, and OS is the operating system this version has been compiled for.
The binaries contain a subdirectory named psyco which is a Python package (which you can check by looking for the __init__.py file it contains). Just drop this directory into your site-package directory. In other words, you need a directory .../python2.x/lib/site-packages/psyco/ which contains the files __init__.py, core.py, and so on.
Alternatively, run the top-level installation script setup.py as follows:
python setup.py install