【发布时间】:2019-02-28 22:24:52
【问题描述】:
我正在运行最新版本的 Lubuntu,每次尝试安装时都会出现相同的错误 ::
Errors were encountered while processing:
python3
python3-cffi-backend
python3-keyring
python3-crypto
python3-idna
python3-xdg
python3-keyrings.alt
python3-six
python3-dev
python3-wheel
python3-pkg-resources
python3-gi
python3-asn1crypto
python3-pip
python3-setuptools
python3-lib2to3
python3-secretstorage
dh-python
python3-distutils
python3-cryptography
python3-dbus
E: Sub-process /usr/bin/dpkg returned an error code (1)
请帮帮我,我明天在我的大学有一个 python 测试,这真的让我很难过,我需要练习代码。
编辑:: 我不知道为什么,但这里只有 python 给我一个问题
更新:: 现在它给了我一个不同的错误:
我在这里尝试使用:sudo apt-get install spyder3 安装 Spyder3
Setting up systemd (237-3ubuntu10.3) ...
cp: '/etc/resolv.conf' and '/run/systemd/resolve/stub-resolv.conf' are the same file
dpkg: error processing package systemd (--configure):
installed systemd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)
【问题讨论】:
-
当你弄明白的时候,你可以看看可以让你运行python代码的网站,例如-repl.it来练习
-
感谢@VaibhaVishal,它将帮助我工作。明天之后我有足够的时间来研究和解决这个问题,但专家的永久解决方案会非常有帮助。
-
您的问题在这里并不是真正的主题,并且无论如何都没有包含足够的信息来了解您尝试安装“某物”时发生了什么。提问时,请务必准确地向我们展示您做了什么以及您得到了哪些错误或意外与预期的输出。
-
在这里我试图通过
sudo apt-get install gnome-screenshot安装截图应用程序,但它给了我这个错误。有趣的是,该应用程序已安装并且可以正常运行,但是在安装时出现此错误。
标签: python ubuntu spyder systemd dbus