title: Failed to find module in a python project
body: <p>I am new to Python. I got a python project recently and failed to launch it. It is a gunicorn backend application. When I use below command to launch the server:</p>
  
  <pre><code>gunicorn --pythonpath api app:application development --reload
  </code></pre>
  
  <p>I got below error:</p>
  
  <pre><code>ModuleNotFoundError: No module named 'require_json'
  </code></pre>
  
  <p>The <code>require_json</code> is an internal module in this project. The project structure is like:</p>
  
  <pre><code>api/app.py
  middlewares/require_json.py
  middlewares/__init__.py
  </code></pre>
  
  <p>In <code>api/app.py</code>, it imports <code>require_json</code> by this code:</p>
  
  <p><code>from middlewares import  json_translator</code></p>
  
  <p>but it doesn't find the <code>require_json</code> module. Is this anything to do with my system path? I am using <code>MacOS</code>.</p>