title: ModuleNotFoundError: No module named 'models. Unable to import models into folder
body: <p>I'm creating a project in django called social_monitoring and I'm getting the error within the app 'fb_scraping'.</p>
  <p>I'm trying to import models from the models folder that I have created into a python file in another folder in the same directory. But, it keeps giving me this error</p>
  <pre><code>from models.scrapingmodels import Scrapedposts, Postcomments  
  
                      
  </code></pre>
  <p>Error: ModuleNotFoundError: No module named 'models'</p>
  <p>The structure of the project:</p>
  <blockquote>
  <p>social_monitoring/<br />
  --└── fb_scraping/<br />
  -----├── models/<br />
  -----│ -----├──__init__.py<br />
  -----│ -----└──scrapingmodels.py (where I'm importing from)<br />
  -----└── scripts/<br>
  -----------└──fbscrape.py (where I'm importing to)</p>
  </blockquote>
  <p>scrapingmodels.py contains 2 class: Scrapedposts and Postcomments
  In the <strong>init</strong>.py file in models folder, I've added:</p>
  <pre><code>
  
  from .scrapingmodels import Scrapedposts as _Scrapedposts
  from .scrapingmodels import Postcomments as _Postcomments
  
  </code></pre>    
  <p>In fbscrape.py, I have tried to import in several ways:</p>
  <pre><code>
  
  from fb_scraping.models.scrapingmodels import Postcomments, Scrapedposts
  
  </code></pre>
  <p>and i get the error: ModuleNotFoundError: No module named 'fb_scraping'</p>
  <p>What do you suggest I do to fix this issue?</p>