克隆代码仓库

git clone git@github.com:comfyanonymous/ComfyUI.git

More info on git clone.

如果你还没有安装 Microsoft Visual C++ Redistributable,请在这里安装

安装依赖

  1. Install Miniconda. This will help you install the correct versions of Python and other libraries needed by ComfyUI.

    Create an environment with Conda.

    conda create -n comfyenv
    conda activate comfyenv
    
  2. Install GPU Dependencies

  3. cd ComfyUI
    pip install -r requirements.txt
    
  4. Start the application

    cd ComfyUI
    python main.py