当前位置:网站首页>Solve attributeerror: module 'win32com.gen_ py. 00020813-0000-0000-C000-000000000046x0x1x9‘ has no attribu
Solve attributeerror: module 'win32com.gen_ py. 00020813-0000-0000-C000-000000000046x0x1x9‘ has no attribu
2022-07-26 20:21:00 【AI vision netqi】
Error reporting interface :

Find the way :
import win32com
print(win32com.__gen_path__)result :
C:\Users\Erica\AppData\Local\Temp\gen_py\3.7
Method 1:
Go to this directory to delete Cache folder 00020905-0000-0000-C000-000000000046x0x8x5 that will do , Re execute the above code and no error will be reported .
Method 2:
excel = win32.gencache.EnsureDispatch('Excel.Application')
#change to =>
excel = win32.Dispatch('Excel.Application')边栏推荐
- numpy.put()
- There is an Oolong incident in open source. Maybe you don't know these five open source protocols
- 消息队列知识点总结
- Kingbases SQL language reference manual of Jincang database (16. SQL statement: create sequence to delete)
- 一文读懂 .NET 中的高性能队列 Channel
- Array operations add, delete, modify, and query
- 开源 | AREX-携程无代码侵入的流量回放实践
- 一维数组定义与使用
- 使用请求头认证来测试需要授权的 API 接口
- Student's t distribution
猜你喜欢

Vite configuration eslint specification code

Use request header authentication to test API interfaces that need authorization

MySQL InnoDB engine (V)

任务一 报告

用 QuestPDF操作生成PDF更快更高效!

EtherCAT 同步模式

Using questpdf operation to generate PDF is faster and more efficient!

会议OA之会议排座&送审

Array operations add, delete, modify, and query

记一次 .NET 某物管后台服务 卡死分析
随机推荐
2022 极术通讯-安谋科技开启商业化新篇章
Dio problem summary
解决AttributeError: module ‘win32com.gen_py.00020813-0000-0000-C000-000000000046x0x1x9‘ has no attribu
Kingbasees SQL language reference manual of Jincang database (17. SQL statement: discard to drop language)
DevOps 实践多年,最痛的居然是?
Use request header authentication to test API interfaces that need authorization
贴合课标新方向 猿辅导打造特色新概念内容体系
Meeting seating & submission of meeting OA
Read the high-performance queue channel in.Net
numpy.put()
操作系统常见面试题目总结,含答案
C# 使用默认转型方法
Cookies and sessions
Excel-VBA 快速上手(十、提示框、可输入的弹出框)
移动端video兼容你需要知道的几点
记一次 .NET 某物管后台服务 卡死分析
this指向,最简单的规则记住它
福音!微信个人公众号可以改名了!
cv2.resize()
同花顺靠谱吗?我刚开始学习理财,开证券账户安全吗?