在google云服务器中安装pip失败

2024-10-01 13:39:17 发布

您现在位置:Python中文网/ 问答频道 /正文

我在google云服务器中创建了一个linux虚拟机,并从我之前使用的raspberry pi复制了所有文件。在

我想安装我在脚本中使用的模块和库,但是当我在putty中运行sudo apt-get install python-pip命令时(登录到google云之后),我得到了以下错误:

Err:1 http://security.debian.org stretch/updates/main amd64 linux-libc-dev amd64 4.9.30-2+deb9u3
  404  Not Found [IP: 21x.2xx.xx2.x2 80]
E: Failed to fetch http://security.debian.org/pool/updates/main/l/linux/linux-libc-dev_4.9.30-2+deb9u3_amd64.deb  404  Not Found [IP: 21x.2xx.xx2.x2 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

我怎样才能解决这个问题?在

谢谢


Tags: orgdevhttpgetmainlinuxgooglenot