Bad magic number ImportError in python 是源码编译里面版本不对,删除掉源码pyc然后重新编译就可以了 12find .-name '*.pyc'-deletepython -m compileall . 更新历史 why when 创建 2013年08月01日 更新 2019年12月9日 暂未分类 #暂未分类 Bad magic number ImportError in python https://zphj1987.com/2015/03/22/Bad magic number ImportError in python/ 作者 zphj1987 发布于 2015年3月22日 许可协议 ubuntu12.10安装sun java jdk 上一篇 centos下多网卡做bond脚本 下一篇