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 vapePYTHONPATH=./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.