ImportError:没有名为bz2的模块用于Python 2.7.3

时间:2012-11-05 07:10:04

标签: android linux

  

可能重复:
  ImportError: No module named bz2 for Python 2.7.2

我运行此命令: /usr/bin/python -c "import bz2; print bz2.__doc__"

结果是:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named bz2

也存在apt-cache search bz2

libbz2-dev - high-quality block-sorting file compressor library - development

如何解决此错误?

0 个答案:

没有答案