DevFixes
LabsVS Code LabBeginner
VS Code Lab / Challenge 01

The editor using the wrong Python

Point the editor at the project virtual environment so analysis matches the terminal.

9 min/VS Code / Python interpreter / editor diagnostics
Observe
Investigate
Fix
Verify
Reflect
.vscode/settings.json/json
01020304
Terminal0 runs
Pylance: Import "requests" could not be resolved
Terminal: requests 2.32.3 is installed

The terminal and editor are using different Python interpreters.
$