pywinauto报错解决
时间: 2023-09-29 17:02:22 浏览: 149
pywinauto document.pdf
5星 · 资源好评率100%
根引用和引用,当使用pywinauto调dbeaver的安装时,默认后端类型是win32,而当后端类型指为uia时,可以解决报错的问题。你可以尝试使用以下代码来调用dbeaver安装程序:
from pywinauto import Application
Application(backend='uia').start('C:\\Users\\Administrator\\Desktop\\dbeaver-ce-6.1.3-x86_64-setup.exe')
另外***并将其放置在Python环境的C:\Python35\Lib\site-packages目录下,然后继续执行python setup.py install命令即可解决问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Pywinauto 应用后端类型选择错误:AttributeError: ‘NoneType‘ object has no attribute ‘backend‘....](https://blog.csdn.net/qq_38161040/article/details/100882561)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *3* [Python安装pywinauto时遇到error: The read operation timed out解决方法](https://blog.csdn.net/weixin_30919429/article/details/98716214)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文