ModuleNotFoundError: No module named 'requests' in ComfyUI
Fix ComfyUI No module named requests errors by installing requests in the active Python environment and restarting ComfyUI.
If ComfyUI logs ModuleNotFoundError: No module named 'requests', install the Python package requests in the environment that starts ComfyUI.
requests is a common HTTP client dependency. In ComfyUI it can be used by core utilities, custom nodes, download helpers, API integrations, and plugin managers.
In the SEO Lab portable repair chain, missing requests appeared after aiohttp was installed. Installing requests exposed the next missing package, pydantic.
Fast answer
For the GitHub Windows portable package:
.\python_embeded\python.exe -s -m pip show requests
.\python_embeded\python.exe -s -m pip install requests
.\python_embeded\python.exe -s -c "import requests; print(requests.__version__)"
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-buildWhat The Log Looks Like
ModuleNotFoundError: No module named 'requests'The traceback may come from ComfyUI startup, ComfyUI Manager, a download helper, or a custom node that talks to remote APIs.
Quick Diagnosis
| What You See | Meaning | First Action |
|---|---|---|
No module named 'requests' | requests package missing | Install requests in ComfyUI's Python |
| Download or registry features fail | HTTP client dependency may be missing | Fix the import before checking network/proxy |
Error appears after aiohttp repair | Normal repair-chain progression | Install requests, restart, read the next blocker |
| Install succeeds but error remains | Wrong Python was repaired | Run pip show requests through ComfyUI's Python |
Step 1: Install requests
Windows portable:
.\python_embeded\python.exe -s -m pip install requestsManual venv:
python -m pip install requestsStep 2: Verify The Import
.\python_embeded\python.exe -s -c "import requests; print(requests.__version__)"Manual venv:
python -c "import requests; print(requests.__version__)"Step 3: Restart And Check Whether The Error Moves
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-buildIf the next error is No module named 'pydantic', the requests repair worked and the startup chain moved forward.
What Not To Do
- do not start with proxy or firewall troubleshooting if Python cannot import
requests - do not install into system Python when ComfyUI uses
python_embeded - do not paste a full
pip install ...command into a package-name field - do not assume a download failure is network-only until the import succeeds
Related Guides
- No module named 'aiohttp' in ComfyUI
- ComfyUI Manager failed to get custom node list
- Repair ComfyUI Portable Dependencies One Missing Module At A Time
- Fix No module named errors in ComfyUI
- ComfyUI Dependency Conflicts
Source References
- Windows portable SEO Lab repair, May 18, 2026:
ModuleNotFoundError: No module named 'requests'appeared after aiohttp repair - Same lab
ComfyUI\requirements.txt:requests - requests on PyPI
Start free with Wonderful Launcher if this affects your real ComfyUI environment. It keeps launcher-native repair, task logs, and runtime checks in one place; credits are only for image generation and metered tools.
Download Wonderful LauncherSee credit packagesDid this fix your issue?
Your answer helps prioritize verified ComfyUI repairs.