Answers for "unresolved import 'django.db'Python(unresolved-import)"

2

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"],
Posted by: Guest on September-25-2020
1

Unresolved reference 'django'

Go to Settings -> Project: -> Project Interpreter -> switch to the right path
Posted by: Guest on November-10-2020

Code answers related to "unresolved import 'django.db'Python(unresolved-import)"

Python Answers by Framework

Browse Popular Code Answers by Language