Traceback (most recent call last):
File "/usr/lib/python3.7/py_compile.py", line 13, in <module>
  import traceback
File "/usr/lib/python3.7/traceback.py", line 5, in <module>
  import linecache
File "/usr/lib/python3.7/linecache.py", line 11, in <module>
  import tokenize
File "/usr/lib/python3.7/tokenize.py", line 33, in <module>
  import re
File "/usr/lib/python3.7/re.py", line 123, in <module>
  import sre_compile
File "/usr/lib/python3.7/sre_compile.py", line 17, in <module>
  assert _sre.MAGIC == MAGIC, "SRE module mismatch"
AssertionError: SRE module mismatch
dpkg: error processing package python3-lib2to3 (--configure):
installed python3-lib2to3 package post-installation script subprocess 
returned error exit status 1
Processing triggers for hicolor-icon-theme (0.17-2) ...
dpkg: dependency problems prevent configuration of python3-distutils:
python3-distutils depends on python3-lib2to3 (>= 3.6.4); however:
Package python3-lib2to3 is not configured yet.
dpkg: error processing package python3-distutils (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a 
followup error from a previous failure.
    Setting up python3-apport (2.20.9-0ubuntu7.6) 
Setting up apport (2.20.9-0ubuntu7.6) ...
apport-autoreport.service is a disabled or a static unit, not starting 
Setting up apport-gtk (2.20.9-0ubuntu7.6) ...
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
New contributor
Олег Световидов is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Consider to use text of error log instead of image. Mark text by code button in question editor. – LeonidMew Mar 14 at 20:54

Your Answer

Олег Световидов is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.