I am importing a custom module called as Helper to my unittest. When I run with the help of test explorer it works fine, but when I try to run through command line it give me below error. ModuleNotFoundError: No module named 'Helper' I have manually added empty init.py file at each directory and at project level as well. My python version is : 3.8.3 Below is the error I get in CMD. error while running through command line Here is my folder structure ,result and code when I execute through test explorer. sampleTest.py code
globalHelper.py globalHelper.py code