title: Unable to import a relative module in Python 3
body: <p>I am developing a flask project where my project structure looks like this:</p>
  <pre><code>   - shared
         - auth  
            -- __init__.py
            -- processor.py
         - config
            -- __init__.py
            -- params.py
  </code></pre>
  <p>I am trying to access params.py from processor.py.</p>
  <p>My processor.py looks like this</p>
  <pre><code>from flask import Flask
  from ..config.params import get_key ---&gt; This is the issue
  app = Flask(__name__)
  
  class processor:
  
      @app.route(&quot;/process&quot;)
      def cur_processor():
         #some code
  
  </code></pre>
  <p>When I do <code>flask run</code> from inside the auth directory, I get this error:</p>
  <pre><code>zsh: abort      flask run
  </code></pre>
  <p>If I remove the relative import line, it works just fine.</p>
  <p>How can I import properties from another directory successfully?</p>