Chetan.B
Chetan.B

Reputation: 149

How to install pywinauto in python 2.5.1

I am not able to install pywinauto in python 2.5.1

Version 2.5.1 don't have pip. I tried to copy paste pywinauto from 2.7.1 but didn't work.

Upvotes: 0

Views: 322

Answers (2)

Vasily Ryabov
Vasily Ryabov

Reputation: 10010

The latest pywinauto is not compatible with Python 2.5 because statements like except Exception as exc: won't work in Py2.5 (they are required for Py3.x compatibility and work for Py2.6+). Though you have chances with pywinauto==0.4.2 and before. 0.4.2 can be downloaded here (see "Releases" tab in the repo): https://github.com/pywinauto/pywinauto/archive/0.4.2.zip

You need to unpack it and run C:\python25\python.exe setup.py install

Upvotes: 0

Jean-François Fabre
Jean-François Fabre

Reputation: 140286

from the pywinauto documentation

Installation

(Python 2.5 and before is not supported)

So it's time to upgrade. Python 2.5 now belongs to retrocomputing.

Upvotes: 1

Related Questions