Forum Discussion

bommareddy's avatar
bommareddy
Contributor
6 years ago

How to download and add external Python packages in TC 14

Hello All,

 

Can anyone suggest me step by step process to download and add external Python packages in TC 14. 

 

I tried the following, but I didn't have any luck

https://support.smartbear.com/testcomplete/docs/scripting/specifics/python.html

 

from os import sys
sys.path.insert(0, '%PATH_TO_PYTHON_DIRECTORY%\Lib\site-packages') import requests #--> getting error i.e. requests module doesn't found

 

And do I need to install python in my machine? I guess python is inbuilt  with TC . Am i right?

 

-BommaReddy

    • bommareddy's avatar
      bommareddy
      Contributor

      How can I download "requests" module/package in Test Complete.

       

      Once downloaded, i can place it in the specified folder.  I am unable to download that package.

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        That sounds like a question for your own IT/IS department.  TestComplete doesn't have anything to do with the specific modules, you'll need to get the module into the folder however you can download it.