Search code examples
pythonwindowspywinauto

Unable to install pywinauto tool


Unable to install pywinauto with below error. Please help me to over come this.

C:\Python27>python C:\Users\........\Downloads\pywinauto-0.4.0\pywinauto-0.4.
0\setup.py install
running install
running build
running build_py
error: package directory 'pywinauto' does not exist

Solution

  • try this

    1. Downloaded http://www.python.org/download/releases/2.6.6/ (32 bit)
    2. Installed python using python-2.6.6.msi
    3. Install send keys https://code.google.com/p/pythonxy/downloads/detail?name=SendKeys-0.3_py26.exe&can=2&q=
    4. Downloaded http://sourceforge.net/projects/pywinauto/files/pywinauto/0.4.0/
    5. Unzip the pywinauto zip file to a folder
    6. Run python.exe setup.py install

    C:\Software\pywinauto-0.4.0\pywinauto-0.4.0>C:\Python26\python.exe setup.py install