解决AttributeError: module ‘win32com.gen_py.00020813-0000-0000-C000-000000000046x0x1x9‘ has no attribu
报错界面:
找到路径:
import win32com
print(win32com.__gen_path__)
结果:
C:\Users\Erica\AppData\Local\Temp\gen_py\3.7
方法1:
去这个目录删除
缓存文件夹00020905-0000-0000-C000-000000000046x0x8x5
即可,重新执行上述代码便不再报错。
方法2:
excel = win32.gencache.EnsureDispatch('Excel.Application')
#change to =>
excel = win32.Dispatch('Excel.Application')
解决AttributeError: module ‘win32com.gen_py.00020813-0000-0000-C000-000000000046x0x1x9‘ has no attribu相关推荐
- AttributeError: module ‘win32com.gen_py.00062FFF-0000-0000-C000-000000000046x0x9x6‘ has no attribute
记录下关于AttributeError: module 'win32com.gen_py.00062FFF-0000-0000-C000-000000000046x0x9x6' has no attr ...
- 成功解决 AttributeError: module ‘keras.engine.topology‘ has no attribute ‘load_weights_from_hdf5_group_b
成功解决 AttributeError: module 'keras.engine.topology' has no attribute 'load_weights_from_hdf5_group_b ...
- 成功解决AttributeError: module ‘dask.array.numpy_compat‘ has no attribute ‘take_along_axis‘
成功解决AttributeError: module 'dask.array.numpy_compat' has no attribute 'take_along_axis' 目录 解决问题 解决思路 ...
- 成功解决AttributeError: module ‘tensorflow‘ has no attribute ‘placeholder‘
成功解决AttributeError: module 'tensorflow' has no attribute 'placeholder' 目录 解决问题 解决思路 解决方法 T1.降低tensor ...
- 成功解决AttributeError: module ‘tensorflow‘ has no attribute ‘contrib‘
成功解决AttributeError: module 'tensorflow' has no attribute 'contrib' 目录 解决问题 解决思路 解决方法 解决方法
- 成功解决AttributeError: module ‘tensorflow‘ has no attribute ‘get_variable‘
成功解决AttributeError: module 'tensorflow' has no attribute 'get_variable' 目录 解决问题 解决思路 解决方法 解决问题 Attri ...
- 成功解决AttributeError: module ‘seaborn‘ has no attribute ‘lvplot‘
成功解决AttributeError: module 'seaborn' has no attribute 'lvplot' 目录 解决问题 解决思路 解决方法 解决问题 AttributeError ...
- 成功解决AttributeError: module ‘tornado.web‘ has no attribute ‘asynchronous‘
成功解决AttributeError: module 'tornado.web' has no attribute 'asynchronous' 目录 解决问题 解决思路 解决方法 解决问题 Attr ...
- 成功解决AttributeError: module tensorflow has no attribute placeholder
成功解决AttributeError: module 'tensorflow' has no attribute 'placeholder' 目录 解决问题 解决思路 解决方法 解决问题 Attrib ...
最新文章
- Java 集合 — HashMap
- 漫画: 可以给女朋友讲解 Linux 内核长啥样了
- Android高效异步图片加载框架
- poj3258二分法
- pay-spring-boot 开箱即用的Java支付模块,整合支付宝支付、微信支付
- 瑞典正成为欧洲硅谷?
- 算法优化策略之“中途相遇”算法思想
- python中文分词统计_python 实现中文分词统计
- table表格字母无法换行
- 什么是计算机技术作文500字,关于电脑的作文500字
- 如何快速建立一个优秀的账号体系
- 为什么打印还要另存为_打印的时候为什么显示文件另存为
- C++OpenCV实现抠除(也可用于更换)证件照背景
- shell脚本文本替换
- bcc云服务器远程,云服务器BCC操作操作手册.pdf
- C语言中的static的作用~
- 【FFMPEG】各种音视频编解码学习详解 h264 ,mpeg4 ,aac 等所有音视频格式
- 在一个项目上跑起来Docker(goland)
- 山区地貌图MATLAB
- SQL数据查询——嵌套查询
热门文章
- 虚拟机网络模式(NAT模式主机访问虚拟机)
- 2021.07.17【R语言】丨扩增子课程学习——α多样性简介
- 【温故而知新】分布式系统(二)
- Android手机有哪学好用的epub阅读器app
- Dependence Inversion Principle 依赖倒置原则
- 计算变为人们梦寐以求的公用设施
- 计算机陕西工业职业技术学院,2019年度陕西省中等职业学校教师省级培训计算机动漫与游戏制作开班典礼在我院举行...
- 【项目实战】java实现向日葵远程控制功能
- 基于天翼1号2021的5G切片创新应用在广州完成端到端现网验证
- 《黑客与画家》——读书笔记