[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pyatspi



Jan and Bertil Smark Nilsson <jbsn@tpg.com.au> writes:

> When I try to install python-pyatspi typing apt-get install
> python-pyatspi, I get the following message:
>
> INFO: using old version '/usr/bin/python2.3'
> Compiling /usr/lib/python2.3/site-packages/pyatspi/constants.py ...
>   File "/usr/lib/python2.3/site-packages/pyatspi/constants.py", line 195
>     values = ((name, value) for name, value in acc_dict.items()
>                               ^
> SyntaxError: invalid syntax
>
> pycentral: pycentral pkginstall: error byte-compiling files (6)
> pycentral pkginstall: error byte-compiling files (6)
> dpkg: error processing python-pyatspi (--configure):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  python-pyatspi
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> What could be the problem?

If you do not use the old version of python (2.3) for anything,
try removing it with apt-get remove python2.3.

pyatspi does not work with python 2.3, only with 2.4 (and hopefully aboe).

-- 
CYa,
  Mario | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang@db.debian.org
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>



Reply to: