摘要: TypeError: <class 'openpyxl.packaging.custom.StringProperty'>.name should be <class 'str'> but value is <class 'NoneType'>  解决方案 问题出现原因 Python使用openpyxl 3.1.5 读取Excel(.xlsx),出现异常 使用Python读取其他人提供的Excel时,可能由于多方面原因导致出现这个错误,错误原因是Excel文件元数据的自定义属性(custom-properties)中某些字段包含None值导致的,也就是 阅读全文
posted @ 2026-01-08 10:35 风陵南 阅读(21) 评论(0) 推荐(0)