This is also an issue on Karmic with both Python 2.6 and Python 3.1 installed.
Setting up python-lazr-restfulclient (0.9.3-0ubuntu3) ... File "/usr/bin/py_compilefiles", line 27 print "file does not exist:", fullname ^ SyntaxError: invalid syntax pycentral: pycentral pkginstall: error byte-compiling files (27) pycentral pkginstall: error byte-compiling files (27) dpkg: error processing python-lazr-restfulclient (--configure): subprocess installed post-installation script returned error exit status 1 Setting up python-pyatspi (1.27.92-0ubuntu1) ... File "/usr/bin/py_compilefiles", line 27 print "file does not exist:", fullname ^ 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 installed post-installation script returned error exit status 1 -- py_compilefiles shows error during byte-compiling files on setting up installed package https://bugs.launchpad.net/bugs/366304 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs