1

Been getting this error

ModuleNotFoundError: No module named 'main'

Code :

import pandas as pd
import numpy as np
from selenium import webdriver
import main
import visuals

Anyone that could help?

Thanks

  • Can you provide with more details around `import main`? If there is a `main` named module in your working directory that you want to import. I intend to understand what you are trying to do here exactly. –  Feb 28 '21 at 06:29

1 Answers1

1

It looks like you meant to use import __main__... but here are some good reasons not to do that.

Ryan Laursen
  • 617
  • 4
  • 18