ImportError: cannot import name _remove_dead_weakref
I’ve tried searching around but haven’t been able to find a good fix or anyone else with this specific error.
It happens after I try to install screen with
apt-get install screen.
Setting up python3.6-minimal (3.6.1-1~14.04.york0) ... Traceback (most recent call last): File "/usr/lib/python3.6/py_compile.py", line 6, in import importlib._bootstrap_external File "/usr/lib/python3.6/importlib/__init__.py", line 57, in import types File "/usr/lib/python3.6/types.py", line 171, in import functools as _functools File "/usr/lib/python3.6/functools.py", line 23, in from weakref import WeakKeyDictionary File "/usr/lib/python3.6/weakref.py", line 12, in from _weakref import ( ImportError: cannot import name '_remove_dead_weakref' dpkg: error processing package python3.6-minimal (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of python3.6: python3.6 depends on python3.6-minimal (= 3.6.1-1~14.04.york0); however: Package python3.6-minimal is not configured yet. dpkg: error processing package python3.6 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python3.6-minimal python3.6 E: Sub-process /usr/bin/dpkg returned an error code (1)
Running Ubuntu 14.04.
Screen itself seems to have installed to it’s latest version but the error message still has me worried.
Really at a loss here, any help is greatly appreciated.