Have properly installed vscode and are using the correct environment
Can see most modules and run the code without issues
BUT cannot find local (e.g. user coded) packages with pylint in vscode.
Solution
You might have an issue with the structure of your local package. Ideally, the code of the package should have a folder called src, and contained within it a folder with your package source files.