在ubuntu上安装pygame-sdl2依赖项时出错

问题描述 投票:0回答:1

当我在我的ubuntu终端上为pygame_sdl2运行以下命令时

sudo apt-get install build-essential python-dev libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libjpeg-dev libpng-dev virtualenvwrapper --fix-missing

我收到错误:

Err:1 http:// fr.archive.ubuntu.com/ubuntu zesty/main amd64 libpcrecpp0v5 amd64 2:8.39-3
  404  Not Found [IP: 194.158.119.186 80]
Err:2 http:// fr.archive.ubuntu.com/ubuntu zesty-updates/main amd64 libudev-dev amd64 232-21ubuntu3
  404  Not Found [IP: 194.158.119.186 80]
Err:3 http:// fr.archive.ubuntu.com/ubuntu zesty/main amd64 libdbus-1-dev amd64 1.10.10-1ubuntu2

Err:12 http:// fr.archive.ubuntu.com/ubuntu zesty/main amd64 libmircookie-dev amd64 0.26.2+17.04.20170322.1-0ubuntu2


Err:19 http:// fr.archive.ubuntu.com/ubuntu zesty/main amd64 libpcre32-3 amd64 2:8.39-3

E: Failed to fetch http:// fr.archive.ubuntu.com/ubuntu/pool/main/s/stevedore/python-stevedore_1.20.0-0ubuntu2_all.deb  404  Not Found [IP: 194.158.119.186 80]
E: Aborting install.

有人请帮帮我:(

python ubuntu pygame sdl-2
1个回答
0
投票

Ubuntu Zesty(17.04)没有长期支持,这意味着它只有9个月的支持,until January, 2018

现在这个版本的Ubuntu已经过期,请升级到Bionic(18.04 LTS)或降级到Xenial(16.04 LTS)。

如果您仍想使用此版本的Ubuntu,请更改源代码(即将内容/etc/apt/sources.list替换为Old Releases http://old-releases.ubuntu.com/ubuntu/)。

© www.soinside.com 2019 - 2024. All rights reserved.