gpt4 book ai didi

python-3.x - 尝试在 Ubuntu 14.04 上安装 python 和 Django 时未满足的依赖项

转载 作者:行者123 更新时间:2023-12-04 18:37:54 31 4
gpt4 key购买 nike

我是 python/django 的新手并关注 How To Install the Django Web Framework on Ubuntu 14.04和“通过 pip(section) 全局安装”进行安装,

当我运行 apt-get install python-pip ,我得到以下错误

aagyat@ubuntu:~$ sudo apt-get install python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gnome-orca : Depends: python3-brlapi but it is not going to be installed
gnome-sudoku : Depends: python3-gi-cairo (>= 2.90.1) but it is not going to be installed
onboard : Depends: python3-gi-cairo but it is not going to be installed
Recommends: onboard-data (>= 0.99.0~alpha1~tr1531) but it is not going to be installed
python-pip : Depends: python-pip-whl (= 1.5.4-1ubuntu3) but it is not going to be installed
Recommends: python-dev-all (>= 2.6) but it is not installable
python3-commandnotfound : Depends: python3-gdbm but it is not going to be installed
python3-pip : Depends: python-pip-whl (= 1.5.4-1ubuntu3) but it is not going to be installed
Recommends: python3-dev (>= 3.2) but it is not going to be installed
python3-software-properties : Depends: unattended-upgrades but it is not going to be installed
usb-creator-common : Depends: python3-debian but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

甚至运行 sudo apt-get -f install python-pip在控制台中出现相同的错误。

我该如何解决这个问题,您的帮助将不胜感激。

而当我只运行 sudo apt-get -f install它给出了以下错误
dpkg: error processing package usb-creator-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of usb-creator-gtk:
usb-creator-gtk depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
usb-creator-gtk depends on python3; however:
Package python3 is not configured yet.
usb-creator-gtk depends on usb-creator-common (= 0.2.56.3ubuntu0.1); however:
Package usb-creator-common is not configured yet.

dpkg: error processing package usb-creator-gtk (--configure):
dependency problems - leaving unconfigured
dpkg: too many errors, stopping
Errors were encountered while processing:
python3-minimal
python3
language-selector-common
python3-xkit
ubuntu-drivers-common
python3-gdbm:amd64
python3-commandnotfound
apturl-common
python3-pycurl
unattended-upgrades
python3-software-properties
software-properties-common
software-properties-gtk
apturl
gedit
python3-xdg
python3-speechd
python3-pyatspi
python3-brlapi
python3-louis
gnome-orca
python3-cairo
python3-gi-cairo
gnome-sudoku
language-selector-gnome
onboard
python3-chardet
python3-lxml
python3-plainbox
python3-six
python3-urllib3
python3-requests
python3-pyparsing
python3-checkbox-support
python3-checkbox-ng
python3-colorama
python3-debian
python3-distlib
python3-feedparser
python3-html5lib
python3-httplib2
python3-markupsafe
python3-mako
python3-setuptools
python3-pip
python3-uno
python3-wheel
rhythmbox-plugin-zeitgeist
rhythmbox-plugins
usb-creator-common
usb-creator-gtk
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

最佳答案

最后用下面的命令解决了,更多信息请点击链接

sudo apt-get --reinstall install python3

Repair damaged Python3.2 installation (Ubuntu)

关于python-3.x - 尝试在 Ubuntu 14.04 上安装 python 和 Django 时未满足的依赖项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37202730/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com