我已经尝试过搜索,但是没有找到一个很好的解决方法或出现此特定错误的其他任何人。
我尝试使用安装屏幕后,就会发生这种情况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 <module>
import importlib._bootstrap_external
File "/usr/lib/python3.6/importlib/__init__.py", line 57, in <module>
import types
File "/usr/lib/python3.6/types.py", line 171, in <module>
import functools as _functools
File "/usr/lib/python3.6/functools.py", line 23, in <module>
from weakref import WeakKeyDictionary
File "/usr/lib/python3.6/weakref.py", line 12, in <module>
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)
运行Ubuntu 14.04。
屏幕本身似乎已安装到最新版本,但错误消息仍然让我担心。
真是茫然,在这里,任何帮助都将不胜感激。
python3.6
在14.04上安装?