Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python unresolved import vscode

# 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"],
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #unresolved #import #vscode
ADD COMMENT
Topic
Name
3+4 =