Ir para o conteúdo
Node packVerificadoExterno
Fonte aberta

comfyui_wheel_installer

A custom ComfyUI node that installs Python wheels from pre-configured URLs. This node provides a dropdown widget to select and install wheels directly from your ComfyUI workflow. Features

Mantenedor@marduk191C · adoptionnota

Perfil do pacote

Status
Verificado
Publicador
@marduk191
Fonte
GitHub

README

ComfyUI Wheel Installer & Pip Package Installer

Custom ComfyUI nodes for installing Python packages directly from your workflows. Includes two nodes:

  1. Wheel Installer - Install Python wheels from pre-configured URLs
  2. Pip Package Installer - Install pip packages by name from PyPI or other sources

Features

  • Dropdown widgets populated from configuration files
  • Install Python wheels from URLs or pip packages by name
  • Force reinstall and upgrade options
  • Status output showing installation success/failure
  • Easy configuration through simple text files

Installation

  1. Clone or download this repository into your ComfyUI custom_nodes directory:
cd ComfyUI/custom_nodes/
git clone https://github.com/marduk191/comfyui_wheel_installer.git
  1. Restart ComfyUI to load the new node.

Configuration

Wheel Installer Configuration

Edit the wheel_urls.txt file in this directory to add your wheel URLs:

# ComfyUI Wheel Installer - Wheel URLs Configuration
# Add one wheel URL per line. Lines starting with # are comments.

https://example.com/packages/numpy-1.24.0-cp311-cp311-win_amd64.whl
https://example.com/packages/torch-2.0.0-cp311-cp311-linux_x86_64.whl
https://example.com/packages/pillow-9.5.0-cp311-cp311-manylinux_2_17_x86_64.whl

Configuration Guidelines:

  • One URL per line
  • Lines starting with # are treated as comments
  • Empty lines are ignored
  • URLs should point directly to .whl files
  • The filename will be extracted and shown in the dropdown

Pip Package Installer Configuration

Edit the package_names.txt file in this directory to add package names:

# ComfyUI Pip Package Installer - Package Names Configuration
# Add one package name per line. Lines starting with # are comments.
# You can specify versions using standard pip syntax.
# You can also include multiple packages and pip flags on a single line.

# Single package examples:
numpy==1.24.0
pillow>=9.0.0
requests

# Multiple packages on one line:
torch torchvision torchaudio

# Custom index URL (for PyTorch with CUDA):
torch torchvision --index-url https://download.pytorch.org/whl/cu130

Configuration Guidelines:

  • One entry per line (can be a single package or multiple packages with flags)
  • Lines starting with # are treated as comments
  • Empty lines are ignored
  • Use standard pip package naming (supports version specifiers like ==, >=, ~=)
  • Multiple packages and pip flags are supported on a single line
  • Common flags: --index-url, --extra-index-url, --no-cache-dir, --no-deps
  • Packages will be installed from PyPI unless otherwise configured with --index-url

Usage

Wheel Installer Node

  1. In ComfyUI, add the Wheel Installer node to your workflow (found under utils category)
  2. Select a wheel from the dropdown menu
  3. Toggle force_reinstall if you want to force reinstallation (useful for updating existing packages)
  4. Run the workflow - the node will install the selected wheel and output status

Node Inputs:

  • wheel_url (dropdown): Select from configured wheel URLs
  • force_reinstall (boolean): Force reinstallation of the package (default: No)

Node Outputs:

  • status_message (STRING): Human-readable status message
  • success (BOOLEAN): True if installation succeeded, False otherwise

Pip Package Installer Node

  1. In ComfyUI, add the Pip Package Installer node to your workflow (found under utils category)
  2. Select a package from the dropdown menu
  3. Toggle force_reinstall to force reinstallation (replaces existing installation)
  4. Toggle upgrade to upgrade the package if already installed
  5. Run the workflow - the node will install the selected package and output status

Node Inputs:

  • package_name (dropdown): Select from configured package names
  • **force_reinstall

Nós neste pacote

Nós 2
  • PipPackageInstaller
  • WheelInstaller

Fontes

3 fontes
GitHubFonteVersão d3fc7284a02a0608e453e0c7c8cc24c65d68dcdd
github.com/marduk191/comfyui_wheel_installer

Verificado 23 de out.

GitHubFonte
github.com/marduk191/comfyui_wheel_installer

Verificado 5 de nov.

Trechos de fonte

1 trecho

Source context: Repo marduk191/comfyui_wheel_installer