-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 10-05-25 12:33 PM, stanlekub wrote:
On Tue, May 25, 2010 at 11:17:48AM -0400, Nakor wrote:
Hello,
I was wondering about the python requirements for pywikibot.
I tried to run a script on the toolserver (nightshade and wolsbane) and from the error messages I get there I understand that it requires python 2.6 (won't work with 2.5) and (at least) httplib2. Is this correct?
From my experience on my own box, 'rewrite' works perfectly well with python 2.5.2
Maybe you could send the complete error message, or even try 'willow' which uses 2.6 to see if you get the same error.
I'm pretty sure both 2.5 and 2.6 are available on both nightshade and willow. You just need to specify which one you want to use, the default being 2.5:
lifeguard@nightshade:/usr/bin$ ls -l | grep python - -rwxr-xr-x 1 root root 7835 2008-07-09 20:16 dh_python - -rwxr-xr-x 1 root root 982 2008-06-09 21:13 ipython - -rwxr-xr-x 1 root root 331 2008-06-09 21:13 ipython2.4 lrwxrwxrwx 1 root root 10 2008-06-20 14:00 ipython2.5 -> ipython2.4 lrwxrwxrwx 1 root root 23 2010-01-27 21:12 pdb2.4 -> ../lib/python2.4/pdb.py lrwxrwxrwx 1 root root 23 2010-01-27 21:12 pdb2.5 -> ../lib/python2.5/pdb.py lrwxrwxrwx 1 root root 23 2010-03-20 23:07 pdb2.6 -> ../lib/python2.6/pdb.py lrwxrwxrwx 1 root root 9 2008-11-25 06:13 python -> python2.5 - -rwxr-xr-x 1 root root 1229080 2010-01-24 12:21 python2.4 - -rwxr-xr-x 1 root root 1276 2010-01-24 12:20 python2.4-config - -rwxr-xr-x 1 root root 1400984 2010-01-24 19:13 python2.5 - -rwxr-xr-x 1 root root 1419 2010-01-24 19:13 python2.5-config - -rwxr-xr-x 1 root root 2588816 2010-02-16 06:03 python2.6 lrwxrwxrwx 1 root root 16 2008-11-25 06:13 python-config -> python2.5-config lrwxrwxrwx 1 root root 29 2008-11-25 06:13 pyversions -> ../share/python/pyversions.py - -rwxr-xr-x 1 root root 3179 2010-01-25 03:28 xmlproc_parse.python-xml - -rwxr-xr-x 1 root root 4211 2010-01-25 03:28 xmlproc_val.python-xml
- -Mike