首页 > 代码库 > No module named bz2

No module named bz2

yum install bzip*

python2.6 import bz2
python2.7 import bz2 error
解决:
sudo cp /usr/lib64/python2.6/lib-dynload/bz2.so /usr/local/lib/python2.7/


No module named bz2