自动安装 Python 2.7 和 Windows 64 位

Autoit install whit Python 2.7 and Windows 64 bit

我尝试像文档一样安装 autoit:

pip install -U pyautoit

但出现 32 位错误:

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

如何在 64 位上安装它?

TY

如果你的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