【问题标题】:Error to install pip on google-cloud在 google-cloud 上安装 pip 时出错
【发布时间】:2017-04-26 14:29:56
【问题描述】:

) 我尝试使用 ubunto 16.04 在 gcloud 服务器上安装 pip 我得到了这个错误按摩。希望你能帮助我。

https://pastebin.com/Pdyt5n5j

也许pastbin 更好读。

root@bascic:~/gcloudstuff# sudo apt-get install python-pip Reading package lists... Done Building dependency tree
Reading state information... Done The following additional packages will be installed: binutils build-essential cpp cpp-5 dpkg-dev fakeroot g++ g++-5 gcc gcc-5 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan2 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl libgcc-5-dev libgomp1 libisl15 libitm1 liblsan0 libmpc3 libmpx0 libpython-all-dev libpython-dev libpython2.7 libpython2.7-dev libquadmath0 libstdc++-5-dev libtsan0 libubsan0 linux-libc-dev make manpages-dev python-all python-all-dev python-dev python-pip-whl python-setuptools python-wheel python2.7-dev Suggested packages: binutils-doc cpp-doc gcc-5-locales debian-keyring g++-multilib g++-5-multilib gcc-5-doc libstdc++6-5-dbg gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-5-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan2-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx0-dbg libquadmath0-dbg glibc-doc libstdc++-5-doc make-doc python-setuptools-doc The following NEW packages will be installed: binutils build-essential cpp cpp-5 dpkg-dev fakeroot g++ g++-5 gcc gcc-5 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan2 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl libgcc-5-dev libgomp1 libisl15 libitm1 liblsan0 libmpc3 libmpx0 libpython-all-dev libpython-dev libpython2.7 libpython2.7-dev libquadmath0 libstdc++-5-dev libtsan0 libubsan0 linux-libc-dev make manpages-dev python-all python-all-dev python-dev python-pip python-pip-whl python-setuptools python-wheel python2.7-dev 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. Need to get 837 kB/69.0 MB of archives. After this operation, 192 MB of additional disk space will be used. Do you want to continue? [Y/n] y Err:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-libc-dev amd64 4.4.0-71.92 404 Not Found [IP: 192.158.31.252 80] Err:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-libc-dev amd64 4.4.0-71.92 404 Not Found [IP: 192.158.31.252 80] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_4.4.0-71.92_amd64.deb 404 Not F ound [IP: 192.158.31.252 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

【问题讨论】:

  • 我现在遇到了完全相同的问题。这方面有什么进展吗?

标签: python linux pip google-cloud-platform ubuntu-16.04


【解决方案1】:

我也看到了同样的错误信息,但可以通过运行解决它:

sudo apt-get update

之后,我可以毫无问题地安装 pip/pip3:

sudo apt-get install python3-pip

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-07-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-12-06
    • 1970-01-01
    • 2017-04-17
    相关资源
    最近更新 更多