gpt4 book ai didi

python - Pip 未在 Ubuntu 中安装

转载 作者:太空狗 更新时间:2023-10-29 11:41:37 26 4
gpt4 key购买 nike

我在 Ubuntu 16.04 LTS 的终端上给出了命令 as-

 $ sudo apt 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:
> bcmwl-kernel-source:i386 : Depends: dkms:i386
> Depends: linux-libc-dev:i386 but it is not going to be installed
> Depends: libc6-dev:i386 but it is not going to be installed
> Depends: linux-headers-generic:i386 but it is not going to be installed or
> linux-headers:i386 dkms : Depends: module-init-tools but it is not going to be installed
> python-pip : Depends: python-pip-whl (= 8.1.1-2ubuntu0.4) but it is
> not going to be installed
> Recommends: python-all-dev (>= 2.6) but it is not going to be installed
> Recommends: python-setuptools but it is not going to be installed
> Recommends: python-wheel but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no
> packages (or specify a solution).

如何安装 pip?请查看上面的错误。

最佳答案

好的,要获得 pip,您需要安装那些缺少的依赖项。尝试以下操作:

sudo apt-get 更新

然后

sudo apt-get 升级

下次尝试:

sudo apt-get install python-pip

如果这不起作用,请尝试使用 -f

如需更多帮助,请查看:https://www.liquidweb.com/kb/how-to-install-pip-on-ubuntu-14-04-lts/

关于python - Pip 未在 Ubuntu 中安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44407457/

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