Skip to content

Navigation Menu

Sign in
Sign up

A module not found error in a python-selenium project #12233

Closed Answered by parthea
spoorthy24 asked this question in Q&A
Discussion options

I am actually new to this, I was assigned to do a selenium project where there's already a bunch of code written i need to run and test it out. But when i run i keep getting this error. I have given the code and the error below! can any one help me with it.
import unittest from common.common import minutes_seconds, cleanup_screenshots from common.selenium_wrappers import * import HTMLTestRunner from Email import * from Email import send_email import common.global_vars from common.common import * import sys import common.common

Error ::
from common.common import minutes_seconds, cleanup_screenshots File "c:\Users\admin\OneDrive\Documents\Insights\common\common.py", line 16, in <module> import global_vars ModuleNotFoundError: No module named 'global_vars'

directory:
image

You must be logged in to vote

Please use stackoverflow for general python questions: https://stackoverflow.com/questions/tagged/python

Replies: 1 comment

Comment options

Please use stackoverflow for general python questions: https://stackoverflow.com/questions/tagged/python

You must be logged in to vote
0 replies
Answer selected by parthea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /