网页学习体会

  • 首页
  • 个人博客
您的位置: 首页  >  IT文章  >  Bad magic number ImportError in python

Bad magic number ImportError in python

分类: IT文章 • 2022-07-17 16:45:44

是源码编译里面版本不对,删除掉源码pyc然后重新编译就可以了

find .-name '*.pyc'-delete
python -m compileall .

更新历史

why when
创建 2013年08月01日
更新 2019年12月9日

相关推荐

  • Bad magic number in super-block 当尝试打开 /dev/sda3 时 找不到有效的文件系统超级块
  • Bad magic number ImportError in python
  • resize2fs: Bad magic number in super-block while trying to open
  • python 常见错误 ImportError: cannot import name bad magic number error Python SyntaxError: Non-ASCII character 'xe5' in file
  • LVM XFS增加硬盘分区容量(resize2fs: Bad magic number in super-block while)
  • 102.继承中构造析构的顺序
  • 编译一个Centos6.4下可用的内核rpm升级包-3.8.13内核rpm包
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 网页学习体会    备案号:   粤ICP备20002247号