this looks more like disk corruption. nothing python related.
SyntaxError: invalid syntax
File "/usr/lib/python2.7/distutils/emxccompiler.py", line 108
(dll_name, dll_extension) = os.path.splitext(
^
SyntaxError: invalid syntax
Sorry: TypeError: compile() expected string without null bytes
dpkg: error processing package python2.7 (--configure):
** Package changed: python2.7 (Ubuntu) => ubuntu
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1633858
Title:
package python2.7 2.7.12-1~16.04 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1633858/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs