Python Lab / Challenge 01
The package that exists in the wrong environment
Diagnose why the import fails and repair the project without using a global install.
12 min/Traceback reading / pip / virtual environments
Observe
Investigate
Fix
Verify
Reflect
requirements.txt/text
0102
Terminal0 runs
Traceback (most recent call last):
File "checkout.py", line 1, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
Simulator: the active interpreter has no requests package.