Forum Discussion

exdunepilot's avatar
exdunepilot
Contributor
9 years ago

Python Module - ImportError No module named win32api

My local Python & pywin32 versions are 32-bit (assume required if using with TC).   Code per TestComplete instructions:

 

from os import sys
sys.path.insert( 0, "C:\\Python34\\Lib\\site-packages" )

import win32.win32api
import win32com.client

 

Error thrown at runtime.  Those modules exist in the local install referenced in path.  Any thoughts why I get the error noted?  Thanks!

  • baxatob's avatar
    baxatob
    Community Hero

    Try to import the single module without any reference:

     

    import win32

    import win32com

     

    Does it work?

      • exdunepilot's avatar
        exdunepilot
        Contributor

        This is still unresolved.  Any folks with other thoughts?  Thx.

  • Hi ,

     

    i got the same issue, anyone look into this? or have any solution? Thank you very much.