BMX Bicycle freestyle
BMX Bicycle freestyle

Saturday, July 18, 2009

xubuntu install psyco to speed up nicotine (and other python programs)


1.download
http://sourceforge.net/projects/psyco/files/psyco/psyco-1.6-linux.i386-2.5.tar.gz/download

extract tar file

2.locate your python packages directory

python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"
(mine was:   cd /usr/lib/python2.6/dist-packages)


3. copy psyco directory (inside extracted directory) to packages directory

sudo cp -r psyco /usr/lib/python2.6/dist-packages

and your python code should run much much much faster

0 comments:

Post a Comment