Forum Discussion

mdang's avatar
mdang
New Contributor
4 years ago
Solved

Adding external python modules into TestComplete

Hello,   I'm trying to add the gnupg module https://gnupg.readthedocs.io/en/latest/ to TestComplete. I have referenced https://support.smartbear.com/testcomplete/docs/scripting/specifics/python.htm...
  • hkim5's avatar
    hkim5
    4 years ago
    from os import sys
    sys.path.insert(0, 'C:\\Users\\justin.kim\\AppData\\Local\\Programs\\Python\\Python36\\Lib\\site-packages')
    
    import gnupg
    

    instead of copying the packages into the tc directory, i do this instead and it seems to work... have you given this a try