LogoWonderful Launcher
  • ホーム
  • 料金
  • ドキュメント
  • ダウンロード
ComfyUI 依存競合を再インストールなしで直すTorch 不足Transformers 不足ONNX 不足Triton 不足SageAttention 不足InsightFace 不足OpenCV / cv2 不足
パッケージ不足

ComfyUI で No module named 'insightface' が出る時の直し方

Partially verifiedMedium riskTested on Windows 10, Windows 11 | portable | Python 3.11 | CUDA 12.x | Torch 2.x | ComfyUI portable and manual venv patternsLast verified 2026-05-21Estimated time 10-25 minutes

ReActor、IPAdapter FaceID、InstantID、PuLID などで使う insightface 不足を Windows 環境で修復する手順。

この問題が実際の ComfyUI 環境に影響しているなら、まず Wonderful Launcher で現在のマシンを確認し、ドキュメントを見ながら修復方針を決めてください。

Wonderful Launcher をダウンロード

ComfyUI で No module named 'insightface' が出たら、system Python ではなく ComfyUI を起動している Python 環境 を直してください。

よくある症状

  • ReActor が読み込まれない
  • InstantID / FaceID / PuLID ノードが import failed
  • pip install insightface が Windows でコンパイル失敗する

原因

insightface は人顔認識系ライブラリです。 Windows ではソースビルドに入りやすく、C++ 環境が無いと失敗しがちです。

手順

1. 正しい Python を使う

portable:

.\python_embeded\python.exe -s --version

venv:

python --version

2. 対応 wheel を入れる

Windows ではコミュニティ配布 wheel を使う方が安全です。 Python 3.11 の例:

python -m pip install https://github.com/Gourieff/Assets/raw/main/Insightface/insightface-0.7.3-cp311-cp311-win_amd64.whl

portable なら python -m pip を .\python_embeded\python.exe -s -m pip に置き換えます。

3. 必要なら ONNX Runtime

CPU だけなら:

python -m pip install onnxruntime

GPU が必要なら:

python -m pip install onnxruntime-gpu

注意点

  • pip install insightface を盲目的に実行しない
  • NumPy を最初から下げない
  • ONNX Runtime の GPU 版は CUDA 構成と合っている必要がある

検証

python -c "import insightface; print(insightface.__version__)"

関連ページ

  • ComfyUI ONNX Missing
  • ComfyUI Plugin Import Failed

この問題が実際の ComfyUI 環境に影響しているなら、まず Wonderful Launcher で現在のマシンを確認し、ドキュメントを見ながら修復方針を決めてください。

Wonderful Launcher をダウンロード
関連ガイド:Start from the No module named hubFix ONNX Runtime nextFix plugin import failures

この問題が実際の ComfyUI 環境に影響しているなら、まず Wonderful Launcher で現在のマシンを確認し、ドキュメントを見ながら修復方針を決めてください。

Wonderful Launcher をダウンロード

Did this fix your issue?

Your answer helps prioritize verified ComfyUI repairs.

SageAttention 不足

SageAttention の欠如が本当に致命的かを見極め、必要な場合だけ正しい Python 環境で修復する。

OpenCV / cv2 不足

OpenCV の不足や競合で発生する cv2 エラーを、正しい Python 環境と単一 OpenCV flavor の原則で修復する。

目次

よくある症状
原因
手順
1. 正しい Python を使う
2. 対応 wheel を入れる
3. 必要なら ONNX Runtime
注意点
検証
関連ページ