Q:

python unresolved import vscode

# In .vscode/settings.json
"python.autoComplete.extraPaths": ["./path-to-your-code"],
8
# I use pylance now. I added this. Problem solved.
"python.analysis.extraPaths": ["./path-to-code/"],
# I tried this before, but not working. 
"python.autoComplete.extraPaths": ["./path-to-your-code"],
1

New to Communities?

Join the community