Forum Discussion

NisHera's avatar
NisHera
Valued Contributor
7 years ago
Solved

TC can not call python module

Recently I moved my TC installation to a new machine.

I have python script calling for request like..

import requests, json, hashlib

it gives error

ModuleNotFoundError
No module named 'requests'
Error location:
Unit: ".....TestSuite\....Rest\Script\....Titles"
Line: 1 Column: 1.

But I have it...below shows what i get help> "modules"

 

what am I doing wrong?

 

I have separate python installation in drive E:\  but I don;t think TC have interaction with it 

have installed request in E:\ as well