jacexh / pyautoit

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

E KeyError: 'PROGRAMFILES' #22

Closed Vinodkumar545 closed 4 years ago

Vinodkumar545 commented 6 years ago

Hi,

I understand that pyautoit = 0.4, requires python 32-bit. So, accordingly I installed python 3.6.5 (32-bit) and create virtual environment to start working with the project. Pyautoit was installed and everything worked fine.

However, my project needs to be integrated with Jenkins, so I have started using tox.

Upon using the tox, i'm facing an error only for this particular package pyauotoit. Could you please help us understand what does this error mean and what might be the suitable solution for this please?

Error messages tox

tox.ini file tox_ini

Vinodkumar

JuxhinDB commented 6 years ago

Hi Vinod, I don't follow this project much nor do I have experience with it. However for a workaround could you try running:

set PROGRAMFILES=foo

So that if "(x86)" in os.environ['PROGRAMFILES'] returns False. I'm assuming that this needs to be false because pyautoit needs to run on x86 architecture.