我在 ubuntu 中安装任何东西时都遇到问题

我在 ubuntu 中安装任何东西时都遇到问题
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python3-apt (1.1.0~beta1ubuntu0.16.04.2) ...
/var/lib/dpkg/info/python3-apt.postinst: 6: /var/lib/dpkg/info/python3-apt.postinst: py3compile: not found
dpkg: error processing package python3-apt (--configure):
 subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of python3-software-properties:
 python3-software-properties depends on python3-apt (>= 0.6.20ubuntu16); however:
  Package python3-apt is not configured yet.

dpkg: error processing package python3-software-properties (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of software-properties-common:
 software-properties-common depends on python3-software-properties (= 0.96.20.8); however:
  Package python3-software-properties is not configured yet.

dpkg: error processing package software-properties-common (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python3-apt
 python3-software-properties
 software-properties-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

如果我尝试安装任何东西都会出现这些错误,请帮忙

相关内容