https://*.com/questions/8115280/importerror-no-module-named-bz2-for-python-2-7-2
centos6.8使用源码编译安装python2.7之后,使用bz2报错: no module named bz2
简单解决方法:
sudo cp /usr/lib64/python2.6/lib-dynload/bz2.so /usr/local/lib/python2.7/
2022-12-19 17:36:14
centos6.8使用源码编译安装python2.7之后,使用bz2报错: no module named bz2
简单解决方法:
sudo cp /usr/lib64/python2.6/lib-dynload/bz2.so /usr/local/lib/python2.7/