title: PyCharm unresolved reference on import?
body: <p>Why PyCharm underlines these imports:</p>
  
  <pre><code>from oauth2_helper import (_url, get_token, get_session)
  from config import scope
  </code></pre>
  
  <p>as <code>Unresolved reference</code>, but if I add dots in front:</p>
  
  <pre><code>from .oauth2_helper import (_url, get_token, get_session)
  from .config import scope
  </code></pre>
  
  <p>I don't get the error underline in PyCharm, but when running my app from terminal, I get this error:</p>
  
  <p><code>ModuleNotFoundError: No module named '__main__.oauth2_helper'; '__main__' is not a package</code></p>
  
  <p>What do you think, why is this happening?</p>