出现这个错误是因为没安装bzip2

CentOS

yum install bzip2

Ubuntu

sudo apt-get install bzip2