title: importing pywinauto.application throws error while trying to run using python 3.5.4
body: <p>I was trying to execute the following command on windows 10 machine using python 3.5.4, </p>
  
  <pre><code>from pywinauto.application import Application
  </code></pre>
  
  <p>Following is the error which i was receiving </p>
  
  <pre><code>Traceback (most recent call last):
    File "C:/Users/bizact/Desktop/PSAV/test.py", line 1, in &lt;module&gt;
      from pywinauto.application import Application
    File "C:\Program Files\Python35\lib\site-packages\pywinauto\__init__.py", line 72, in &lt;module&gt;
      from . import findwindows
    File "C:\Program Files\Python35\lib\site-packages\pywinauto\findwindows.py", line 42, in &lt;module&gt;
      from . import controls
    File "C:\Program Files\Python35\lib\site-packages\pywinauto\controls\__init__.py", line 36, in &lt;module&gt;
      from . import uiawrapper # register "uia" back-end (at the end of uiawrapper module)
    File "C:\Program Files\Python35\lib\site-packages\pywinauto\controls\uiawrapper.py", line 46, in &lt;module&gt;
      from ..uia_defines import IUIA
    File "C:\Program Files\Python35\lib\site-packages\pywinauto\uia_defines.py", line 35, in &lt;module&gt;
      import comtypes.client
    File "C:\Program Files\Python35\lib\site-packages\comtypes\client\__init__.py", line 33, in &lt;module&gt;
      gen_dir = _find_gen_dir()
    File "C:\Program Files\Python35\lib\site-packages\comtypes\client\_code_cache.py", line 71, in _find_gen_dir
      result = os.path.abspath(gen_path[-1])
  IndexError: list index out of range
  </code></pre>
  
  <p>Is there a way i can fix this ?</p>