python - Autoit 安装 whit Python 2.7 和 Windows 64 位
问题描述
我尝试像文档一样安装 autoit:
pip install -U pyautoit
但出现 32 位错误:
WindowsError: [Error 193] %1 is not a valid Win32 application
如何在 64 位上安装它?
泰
解决方案
如果你的windows版本是64版本,直接安装会报错。只需按照以下说明进行操作。首先你需要下载autoit zip文件,然后解压。您需要在第 15 行的 autoit.py 中更改一些内容,将 dll = "AutoItX3.dll" 更改为 dll = "AutoItX3_x64.dll",然后使用 python setup.py install ,你会成功
推荐阅读
- angular - 使用 ionic 3 和 angular 5 在我的应用程序中列出本地 mp3 文件
- jquery - 删除某些 div 元素的父 href 属性
- rest - 如何将多种安全机制应用于 Swagger 生成的 REST 服务?
- python - Kafka:如何根据时间戳消费数据
- monaco-editor - 从 Monaco 编辑器中删除 Listner
- powershell - ConEmu:启动 PowerShell 的问题
- avfoundation - 如何一次下载多个视频?
- multithreading - Qt中术语“事件循环”wrt线程的含义是什么?
- algorithm - 如何找到连接不同联合之间不同节点的最佳方式?
- r - R Shiny:为长标签加宽 d3Tree