【问题标题】:Autoit install whit Python 2.7 and Windows 64 bit使用 Python 2.7 和 Windows 64 位自动安装
【发布时间】:2019-08-04 11:54:45
【问题描述】:

我尝试安装 autoit 之类的文档:

pip install -U pyautoit

但出现 32 位错误:

WindowsError: [Error 193] %1 is not a valid Win32 application

如何在 64 位上安装它?

TY

【问题讨论】:

  • 该软件包已多年未更新。你用的是哪个版本的python?

标签: python django autoit


【解决方案1】:

如果你的windows版本是64版本,直接安装会有一些错误。只需按照以下说明进行操作。 首先你需要下载autoit zip文件,然后解压。您需要更改 autoit.py 中的某些内容 在第 15 行,将 dll = "AutoItX3.dll" 更改为 dll = "AutoItX3_x64.dll",然后使用 python setup.py install ,你会成功

来自:https://github.com/jacexh/pyautoit/issues/24

【讨论】:

    猜你喜欢
    • 2015-02-28
    • 2016-08-07
    相关资源
    最近更新 更多