Installation
From Ubuntu Terminal screen (Applications > Accessories > Terminal), type:
taufanlubis@toshiba:~$ sudo apt-get install pychess
[sudo] password for taufanlubis:
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
python-pysqlite2
Suggested packages:
python-pysqlite2-dbg
The following NEW packages will be installed:
pychess python-pysqlite2
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 484kB of archives.
After unpacking 2126kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com gutsy/main python-pysqlite2 2.3.4-2 [72.5kB]
Get:2 http://archive.ubuntu.com gutsy/universe pychess 0.6.1-1ubuntu1 [411kB]
Fetched 484kB in 19s (24.8kB/s)
Selecting previously deselected package python-pysqlite2.
(Reading database … 115735 files and directories currently installed.)
Unpacking python-pysqlite2 (from …/python-pysqlite2_2.3.4-2_i386.deb) …
Selecting previously deselected package pychess.
Unpacking pychess (from …/pychess_0.6.1-1ubuntu1_all.deb) …
Setting up python-pysqlite2 (2.3.4-2) …
Setting up pychess (0.6.1-1ubuntu1) …
taufanlubis@toshiba:~$
How to play?
-
Open Applications > Games > pychess
-
Open Menu > New game.
-
You can choose your Opponent, Difficulty level and Playing time.
instalei mas não consegui fazer rodar:
Exception in thread Thread-2:
Traceback (most recent call last):
File “/usr/lib/python2.6/threading.py”, line 525, in __bootstrap_inner
self.run()
File “/usr/lib/python2.6/dist-packages/pychess/System/tsqlite.py”, line 34, in run
con = sqlite.connect(self.path)
OperationalError: unable to open database file
/usr/lib/python2.6/dist-packages/pychess/Players/engineNest.py:3: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import os, md5, imp
(pychess:13729): libglade-WARNING **: could not find glade file ‘/usr/lib/python2.6/glade/tipoftheday.glade’
Traceback (most recent call last):
File “/usr/games/pychess”, line 87, in
import pychess.Main
File “/usr/lib/python2.6/dist-packages/pychess/Main.py”, line 20, in
from pychess.widgets import tipOfTheDay
File “/usr/lib/python2.6/dist-packages/pychess/widgets/tipOfTheDay.py”, line 7, in
widgets = GladeWidgets(“tipoftheday.glade”)
File “/usr/lib/python2.6/dist-packages/pychess/System/uistuff.py”, line 198, in __init__
self.widgets = gtk.glade.XML(addDataPrefix(“glade/%s” % filename))
RuntimeError: could not create GladeXML object