title: "ImportError: attempted relative import with no known parent package", Relative path does exists
body: <p>I'm having trouble doing a relative import in python. I have a directory of which i'm trying to import a module inside a subdirectory.</p>
  
  <p>My layout is the following is attached as a file.<a href="https://i.stack.imgur.com/oV4fo.png" rel="nofollow noreferrer">https://i.stack.imgur.com/oV4fo.png</a></p>
  
  <p>Inside the Math folder I'm trying to import Vec.py into matrix.py with use of "from .Vec import Vec2D", where Vec2D is a class. However I get an import error "ImportError: attempted relative import with no known parent package".</p>
  
  <p>Using sys.path I can see that I should have access to this file however this is not the case.</p>
  
  <p>Would appreciate some help, and I'm running Python 3.8 :)</p>