{"id":4,"hash":"6c1e94ab4bb83f23478a988e3f748c70690a342514cd6f3a9a01c1a6c0e4bdd6","pattern":"ModuleNotFoundError: No module named 'requests'","full_message":"ModuleNotFoundError: No module named 'requests'","ecosystem":"pypi","package_name":"requests","package_version":null,"solution":"Python cannot find the 'requests' package in the active interpreter.\n1. Install it: `pip install requests` (or `python -m pip install requests` to be sure you hit the right interpreter).\n2. Verify which Python is running your script: `which python` / `python -c \"import sys; print(sys.executable)\"`. If it differs from the one you used for pip, install into that one: `/path/to/python -m pip install requests`.\n3. Virtualenv: activate it first (`source .venv/bin/activate`), then `pip install requests`.\n4. If using requirements.txt, make sure `requests` is listed and run `pip install -r requirements.txt`.\n5. For scripts run by cron/systemd, set the full path to the venv Python in the unit/cron entry.","confidence":0.9,"source":"internal","source_url":"https://github.com/pydantic/pydantic/issues/6557","votes":22,"created_at":"2026-04-19T02:03:59.586889+00:00","updated_at":"2026-04-19T03:25:24.792434+00:00"}