Forum Discussion

kconnick's avatar
kconnick
New Contributor
4 years ago
Solved

Imported Python package 'requests' not recognized.

I am using TestComplete version 14.60.274.7 x64, and I am attempting to use a third party Python package in my code.  I have done the following:       - Pulled Python package named requests (x64 ve...
  • hkim5's avatar
    4 years ago
    from os import sys
    sys.path.insert(0, 'C:\\Users\\justin.kim\\AppData\\Local\\Programs\\Python\\Python36\\Lib\\site-packages')

    the full path should be the directory where your modules go when you download with 'pip install'.

    so you dont need to manually copy and paste the "requests" module.