title: ModuleNotFoundError: No module named 'fastapi'
body: <p>Here is my file structure and requirements.txt:</p>
  <p><img src="https://i.stack.imgur.com/bx4va.jpg" alt="Here is my file structure and requirements.txt" /></p>
  <p>Getting <code>ModuleNotFoundError</code>, any help will be appreciated.</p>
  <p>main.py</p>
  <pre><code>from fastapi import FastAPI
  from .import models
  from .database import engine
  from .routers import ratings
  
  
  models.Base.metadata.create_all(bind=engine)
  
  
  app = FastAPI()
  
  
  app.include_router(ratings.router)
  
  </code></pre>