title: Python error - ImportError: attempted relative import with no known parent package
body: <p>So, my files/folders structure is the following:</p>
  <pre><code>project/
  ├─ utils/
  │  ├─ module.py
  ├─ server/
  │  ├─ main.py
  </code></pre>
  <p>Inside <code>project/server/main.py</code> I'm trying to import <code>project/utils/module.py</code> using this syntax: <code>from ..utils.module import my_function</code>.</p>
  <p>I'm using VSCode, and it even autocomplete for me as I type the module path. But when I run the file <code>project/server/main.py</code>, I get the error in the title.</p>
  <p>I've read dozens of answers here on stack overflow about this topic but none of them used an example like this.</p>