unresolved import django python code example
Example 1: vscode not recognizing python import
# In .vscode/settings.json
"python.autoComplete.extraPaths": ["./path-to-your-code"],
Example 2: unresolved import requests python
cd "C:\Program Files (x86)\Python36_64\Scripts\"
"pip install lxml"
"pip install requests"
Example 3: Unresolved reference 'django'
Go to Settings -> Project: -> Project Interpreter -> switch to the right path