package:python-gtk2-dev:2.24.0-5.1ubuntu2 Setting up python-gtk2-dev (2.24.0-5.1ubuntu2) ... File "/usr/bin/pyversions", line 20 except IOError, msg: ^ SyntaxError: invalid syntax dpkg: error processing package python-gtk2-dev (--configure): installed python-gtk2-dev package post-installation script subprocess returned error exit status 1