I have a project structured like this:
.
└── myapp
├── app.py
├── models
│ ├── hello.py
│ └── world.py
└── requirements.txt
The error you are receiving is one that's reported by a python linter named pylint
. So the problem isn't really specific to the vscode extension.
There are two solutions:
Please try adding an .env
file in your project directory with the vape PYTHONPATH=./myapp
, this will tell pylint where to find your modules
Or just open the folder myapp
in vscode directly instead of opening the parent directory in vscode.