这个问题真的是困扰,我的openpyxl版本是2.6.4

找了很多办法,最有用的是让把版本回复到2.5.14  (但是恢复了之后可能会出现样式错乱)

解决:

根据错误信息,我们去找到这个包的这一块代码

我们把ws打印出来重新运行程序:

很明显是这个sheet有问题,解析这个unicode找到对应的sheet:

搞定!!!!!!!!!!!!!!!!!!!!!!!!

如果本文有用,感谢点赞~

python openpyxl load_workbook报AttributeError: 'MergedCell' object attribute 'hyperlink' is read-only相关推荐

  1. openpyxl:AttributeError: ‘MergedCell’ object attribute ‘value’ is read-only

    openpyxl:AttributeError: 'MergedCell' object attribute 'value' is read-only 使用openpyxl向excel写入数据时,报了 ...

  2. Python学习笔记:‘’AttributeError: NoneType object has no attribute‘’

    前言 最近在学习python,犯了很多低级错误,总结一下 目录 文章目录 前言 目录 问题 出处 方案 问题 AttributeError: 'NoneType' object has no attr ...

  3. Python脚本报错AttributeError: ‘module’ object has no attribute’xxx’解决方法

    解决方法:xx.py文件名时,xx不要是python保留字 原理:因为使用了Python系统库的名字,所以在编译的时候才会产生.pyc文件. 正常的Python文件在编译运行的时候是不会产生.pyc文 ...

  4. Python脚本报错AttributeError: ‘module’ object has no attribute’get’解决方法

    发现代码都没有错.后来是改成这样: def pprint():name=var.get()print(name) var=StringVar() Label(root,text='姓名:',font= ...

  5. 【报错记录】AttributeError: ‘xxx‘ object has no attribute ‘module‘

    文章目录 问题描述 问题分析与解决 总结 参考资料 问题描述 在跑代码时,报出 AttributeError: 'InpaintGenerator' object has no attribute ' ...

  6. AttributeError: ‘module’ object has no attribute’ 问题

    http://caffe.berkeleyvision.org/installation.html https://www.continuum.io/downloads/ 卸载  由于Anaconda ...

  7. Python 报错解决:AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

    早上升级完pip,后报错如下: -> # pip install --upgrade pwntools /usr/local/lib/python2.7/dist-packages/pip/_v ...

  8. 关于在《python编程从入门到实践》书中练习“外星人大战”报错“AttributeError: ‘AlienInvasion‘ object has no attribute ‘blit‘”

    关于在<python编程从入门到实践>书中练习"外星人大战"报错"AttributeError: 'AlienInvasion' object has no ...

  9. Python之报错AttributeError:'CocaCola' object has no attribute 'local_logo'

    试运行class类的代码如下,然而有报错信息:AttributeError:'CocaCola' object has no attribute 'local_logo' class CocaCola ...

最新文章

  1. 《资本说》如何帮助企业从“0”到“1”,看王波玩转投资攻略
  2. 获取网站Alexa排名数值的方法
  3. 互联网IP路由的逐跳全局最优化原则-Dijkstra算法证明
  4. UNIX环境高级编程笔记之文件I/O
  5. 我的家庭私有云计划-2
  6. Python作为人工智能的未来,已经超越Java高居首位
  7. MySQL之Procedure(存储过程)和Function(函数)
  8. 论文审稿意见太奇葩?NeurIPS 2021
  9. springmvc配置中文乱码过滤器
  10. 使用tesseract-ocr进行文字识别
  11. thermal zone
  12. 量化投资 | 统计套利策略
  13. 数据结构,关于链表的问题,为何直接free()不会造成断链。引用的好处
  14. 给Android手机设置的壁纸应该是多大尺寸
  15. 解决Macbook Pro蓝牙不可用问题
  16. 5-46 新浪微博热门话题 (30分)
  17. SpringBoot+OAuth2+JWT实现单点登录SSO完整教程,竟如此简单优雅!
  18. java layout组件居中_Android 布局中 如何使控件居中
  19. h3c交换机限制端口访问_H3C交换机限制局域网端口网限方法
  20. 带注释 实验7-3-5 输出大写英文字母 (15分)

热门文章

  1. 6句话,读懂什么是通证经济
  2. 什么样的人适合做项目经理
  3. 云端的精彩:让信息在指尖流动
  4. 哈尔滨计算机动漫游戏学校,动漫设计_哈尔滨双星计算机职业技术学校
  5. matlab 浮动波动率,matlab 实现 garch 模型波动率估计
  6. python 波动率_用python计算投资组合方差和波动率
  7. 李宏毅机器学习PTT的理解(2)深度学习为甚深?
  8. android小米8.0系统拍照并显示,谷歌相机8.0版本被成功提取,可移植到小米、一加等手机上...
  9. LaTeX中π等小写希腊字母斜体转正体的方法
  10. 推荐5款经过时间验证的神级软件