Python 3.x 如何解决;没有名为“U bz2”的模块;错误?

Python 3.x 如何解决;没有名为“U bz2”的模块;错误?,python-3.x,debian,python-s3fs,Python 3.x,Debian,Python S3fs,我试图在Python 3.6中使用s3fs,使用Debian 3.16.51-3 导入s3fs时: import s3fs ... from _bz2 import BZ2Compressor, BZ2Decompressor ModuleNotFoundError: No module named '_bz2' 好的,我试着更新/安装libbz2 dev,正如SO中的其他问题所述 sudo apt-get install libbz2-dev Reading package lists

我试图在Python 3.6中使用
s3fs
,使用Debian 3.16.51-3

导入s3fs时:

import s3fs

...
from _bz2 import BZ2Compressor, BZ2Decompressor

ModuleNotFoundError: No module named '_bz2'
好的,我试着更新/安装
libbz2 dev
,正如SO中的其他问题所述

sudo apt-get install libbz2-dev

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  bzip2 bzip2-doc libbz2-1.0
The following NEW packages will be installed:
  bzip2-doc libbz2-dev
The following packages will be upgraded:
  bzip2 libbz2-1.0
2 upgraded, 2 newly installed, 0 to remove and 151 not upgraded.
Need to get 425 kB of archives.
After this operation, 561 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://security.debian.org/ jessie/updates/main bzip2 amd64 1.0.6-7+deb8u1
  404  Not Found [IP: 151.101.128.204 80]
Err http://security.debian.org/ jessie/updates/main libbz2-1.0 amd64 1.0.6-7+deb8u1
  404  Not Found [IP: 151.101.128.204 80]
Err http://security.debian.org/ jessie/updates/main bzip2-doc all 1.0.6-7+deb8u1
  404  Not Found [IP: 151.101.128.204 80]
Err http://security.debian.org/ jessie/updates/main libbz2-dev amd64 1.0.6-7+deb8u1
  404  Not Found [IP: 151.101.128.204 80]
E: Failed to fetch http://security.debian.org/pool/updates/main/b/bzip2/bzip2_1.0.6-7+deb8u1_amd64.deb  404  Not Found [IP: 151.101.128.204 80]

E: Failed to fetch http://security.debian.org/pool/updates/main/b/bzip2/libbz2-1.0_1.0.6-7+deb8u1_amd64.deb  404  Not Found [IP: 151.101.128.204 80]

E: Failed to fetch http://security.debian.org/pool/updates/main/b/bzip2/bzip2-doc_1.0.6-7+deb8u1_all.deb  404  Not Found [IP: 151.101.128.204 80]

E: Failed to fetch http://security.debian.org/pool/updates/main/b/bzip2/libbz2-dev_1.0.6-7+deb8u1_amd64.deb  404  Not Found [IP: 151.101.128.204 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
尝试使用
--修复丢失的
,但出现相同错误。显然,这些文件无法下载(?)


我应该如何处理这个问题?提前感谢。

您解决了这个问题吗?你能分享一下吗?