jacexh / pyautoit

Python binding for AutoItX3.dll
MIT License
269 stars 74 forks source link

Installation problem #24

Closed ghost closed 5 years ago

ghost commented 5 years ago

Win 10 Py 3.7 Virtualenv

I cannot install the package. I've tried pip from eclipse, pip from the command line, and downloading the source files and installing. I've tried into a virtual environment and into the python installation directly. All end with a

OSError: [WinError 193] %1 is not a valid Win32 application

error.

Can you give me some pointers (or is there a double secret probation password).

Thanks, Den

evan667788 commented 5 years ago

if your windows version is 64 version, there is some error if you install directly. just follow the below instruction. first you need to download autoit zip file ,then unzip it. you need to change something in autoit.py in line 15,change dll = "AutoItX3.dll" to dll = "AutoItX3_x64.dll", then use python setup.py install , you will succeed

ghost commented 5 years ago

Thank you.