Learn about installing, enabling dependencies, updating, disabling, and uninstalling custom nodes in ComfyUI
pip install -r requirements.txt
directly in the system-level terminal, the corresponding dependencies may be installed in the system-level Python environment, which will cause the dependencies to still be missing in ComfyUI’s environment, preventing the corresponding custom nodes from running normally.
So next we need to use ComfyUI’s independent Python runtime environment to complete the dependency installation.
Depending on different ComfyUI versions, we will use different methods to install the corresponding dependencies:
\ComfyUI_windows_portable\python_embeded
directory. We need to use this Python to complete the dependency installation.First, start the terminal in the portable version directory, or use the cd
command to navigate to the \ComfyUI_windows_portable\
directory after starting the terminal.\ComfyUI_windows_portable\
, as shown below for D:\ComfyUI_windows_portable\
python_embeded\python.exe
to complete the dependency installation:requirements.txt
file exists in the corresponding node directory.Enter Node Management Interface
Find the Corresponding Custom Node Package
Perform Version Switching