Because its real name is scraper.scrap_crawlers. (And please get rid of that os.chdir(). It shouldn’t be there.)