当前位置:网站首页>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')边栏推荐
- tf.GraphKeys
- .net GC workflow
- FastTunnel-开源内网穿透框架
- Strengthen supervision on secret room escape and script killing, and focus on strengthening fire safety and juvenile protection
- There is an Oolong incident in open source. Maybe you don't know these five open source protocols
- three. Two methods of making Earth annotation with JS
- STM32F103 active buzzer driver
- DevOps 实践多年,最痛的居然是?
- Dio问题总结
- 事务回滚,同时记录异常信息
猜你喜欢
随机推荐
How to build a super interface collaboration platform: count the six weapons of apifox
Excel-VBA 快速上手(十、提示框、可输入的弹出框)
shell脚本基础编程命令
Use request header authentication to test API interfaces that need authorization
BluePrism流程业务对象的组件功能介绍-RPA第三章
谷歌的新编程语言被称为 Carbon
安全测试初学体验
Kingbasees SQL language reference manual of Jincang database (20. SQL statements: merge to values)
URL格式
如何实现一个能处理海量数据的异步任务队列系统(至尊典藏版)
Servlet
福音!微信个人公众号可以改名了!
Excel-VBA 快速上手(十一、字符串常用操作)
SQL注入
会议OA之会议排座&送审
消息队列知识点总结
数据库笔记(来自老社)
Exchange 2010 SSL证书安装文档
【Pytorch进阶】pytorch模型的保存与使用
regular expression









