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