我安装 python 3.10,这是我的 ubuntu 18.04 中的错误修复阶段,然后在我的终端未打开后

问题描述 投票:0回答:0
bash: /usr/lib/command-not-found: /usr/bin/python3: bad interpreter: No such file or directoryonkar@onkar-inspiron-3558:/opt$ sudo apt install python3

Reading package lists... Done

Building dependency tree

Reading state information... Done

python3 is already the newest version (3.6.7-1\~18.04).

You might want to run 'apt --fix-broken install' to correct these.

The following packages have unmet dependencies:

gedit : Depends: python3.6 but it is not going to be installed

libpython3-stdlib : Depends: libpython3.6-stdlib (\>= 3.6.7-1\~) but it is not going to be installed

libpython3.6 : Depends: libpython3.6-stdlib (= 3.6.9-1\~18.04ubuntu1.9) but it is not going to be installed

python3 : Depends: python3.6 (\>= 3.6.7-1\~) but it is not going to be installed

python3-minimal : PreDepends: python3.6-minimal (\>= 3.6.7-1\~) but it is not going to be installed

python3-uno : Depends: python3.6 but it is not going to be installed

rhythmbox-plugins : Depends: python3.6 but it is not going to be installed

software-center-aptdaemon-plugins : Depends: python-piston-mini-client but it is not going to be installed

E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

我卸载了 python3,但现在我的终端也无法正常工作,我该怎么做才能解决这个问题

我是 linux 的新手,请问谁能帮我解决这个问题

python-3.x linux gnome-terminal
© www.soinside.com 2019 - 2024. All rights reserved.