【问题标题】:installing pip on ubuntu 16.04... link not working在 ubuntu 16.04 上安装 pip ...链接不起作用
【发布时间】:2016-11-09 05:23:12
【问题描述】:

在 sudo apt 更新后,我试图在我的 ubuntu 桌面上安装 pip 但这就是问题所在。

 0 to upgrade, 12 to newly install, 0 to remove and 262 not to upgrade.
Need to get 1,303 kB/29.6 MB of archives.
After this operation, 44.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Ign:1 http://au.archive.ubuntu.com/ubuntu xenial-updates/universe i386 python-pip-whl all 8.1.1-2ubuntu0.1
Ign:2 http://au.archive.ubuntu.com/ubuntu xenial-updates/universe i386 python-pip all 8.1.1-2ubuntu0.1
Ign:3 http://au.archive.ubuntu.com/ubuntu xenial/universe i386 python-wheel all 0.29.0-1
Err:1 http://au.archive.ubuntu.com/ubuntu xenial-updates/universe i386 python-pip-whl all 8.1.1-2ubuntu0.1
  404  Not Found [IP: 202.158.214.106 80]
Err:2 http://au.archive.ubuntu.com/ubuntu xenial-updates/universe i386 python-pip all 8.1.1-2ubuntu0.1
  404  Not Found [IP: 202.158.214.106 80]
Err:3 http://au.archive.ubuntu.com/ubuntu xenial/universe i386 python-wheel all 0.29.0-1
  404  Not Found [IP: 202.158.214.106 80]
E: Failed to fetch http://au.archive.ubuntu.com/ubuntu/pool/universe/p/python-pip/python-pip-whl_8.1.1-2ubuntu0.1_all.deb 404  Not Found [IP: 202.158.214.106 80]

E: Failed to fetch http://au.archive.ubuntu.com/ubuntu/pool/universe/p/python-pip/python-pip_8.1.1-2ubuntu0.1_all.deb 404  Not Found [IP: 202.158.214.106 80]

E: Failed to fetch http://au.archive.ubuntu.com/ubuntu/pool/universe/w/wheel/python-wheel_0.29.0-1_all.deb 404  Not Found [IP: 202.158.214.106 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

我发现如果我删除 au.xml,则可以访问引发 404 错误的链接。然后它工作。我该如何解决这个问题?

提前致谢

【问题讨论】:

    标签: ubuntu installation pip


    【解决方案1】:

    在安装任何东西之前,总是更新你的包:

    sudo apt-get update
    

    那就试试

    sudo apt-get install python-pip python-pycurl
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-04-08
      • 2019-12-17
      • 2017-04-12
      • 2018-01-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多