ホーム 暮らし ComfyUI Won't Start! Explanation and Solutions for "comfyui-frontend-package is not installed"

ComfyUI Won't Start! Explanation and Solutions for "comfyui-frontend-package is not installed"

三浦 拓海 三浦 拓海 • 更新: • 公開: • 読了約 11 分
目次

This is a question received from an AICU reader.
ComfyUI won't start! "comfyui-frontend-package is not installed", "When I started ComfyUI on Google Colab, the following error occurred, and I can no longer run ComfyUI."

comfyui-frontend-package is not installed. Please install the updated requirements.txt file by running:
/usr/bin/python3 -m pip install -r /content/drive/MyDrive/ComfyUI/requirements.txt
This error is happening because the ComfyUI frontend is no longer shipped as part of the main repo but as a pip package instead.

This error started occurring suddenly this week. Some of you may be confused. In this article, I will explain how to resolve this error.

What is happening?

n81d0ba969aae

This error occurred because the ComfyUI official team attempted to separate the frontend from the main repository on February 28, 2025. From now on, the frontend will be managed in a separate repository and must be installed as an external package. This attempt was announced in an issue on the ComfyUI repository.

The reason for separating the frontend is to prevent the ComfyUI repository from becoming bloated. By managing the frontend in a separate repository, the size of the main ComfyUI repository is kept slim. Below is the message from comfyanonymous, the owner of the ComfyUI repository, translated into Japanese and English.

Under what circumstances does this occur?

This error occurs if you installed ComfyUI via "git clone" before March 3, 2025, and then try to start ComfyUI without updating it since then (the error started appearing on the screen on March 8, 2025; before that, it only appeared in the console).
Some of you may have been updating ComfyUI using the "git pull" command, but simply bringing in the latest code with "git pull" leaves the frontend code outdated, leading to this error. The Google Colab notebook provided by AICU was in a situation where this error would occur because it was set to update ComfyUI using the "git pull" command when the "UPDATE_COMFY_UI" option was turned on.

Solution

One solution is to use the "Update ComfyUI" feature in ComfyUI Manager instead of the "git pull" command. In this case, the packages are also updated, so the frontend is updated as well.

Another way is to run "pip install -r requirements.txt" after "git pull" to install the packages required for ComfyUI. In the notebook provided by AICU, we have added "pip install -r requirements.txt" as follows.

Summary

As of early March 2025, ComfyUI has changed its mechanism to manage the frontend as a separate package. Due to this change, if you were updating ComfyUI using only "git pull" as before, you would start seeing the error "comfyui-frontend-package is not installed".

The main situations where this error occurs are as follows:

  • You installed ComfyUI via "git clone" before March 3, 2025.

  • You attempted to update after that using only the standard "git pull".

  • You started ComfyUI without the frontend package being updated.

There are two ways to solve this.

  1. Use the "Update ComfyUI" feature in ComfyUI Manager

    • This method updates the packages as well, so the frontend will be updated correctly.

  2. Manually update the packages

    • After pulling the latest code with git pull, run "pip install -r requirements.txt" to install the frontend package.

  3. Measures have already been taken for the "Shared ComfyUI" provided by AICU, the ipynb provided by the "ComfyUI Master Plan," and the scripts provided by Coloso.

This change is a measure to prevent the ComfyUI repository from becoming bloated, and it is necessary to adapt to the new mechanism where the frontend part is managed as a separate package from now on. If you are using workflows on Google Colab or similar platforms, you can continue to use ComfyUI smoothly by including the installation of "requirements.txt" in your regular update procedures.

We would like to thank the users who reported this.
We hope you will continue to make use of AICU and our community services.

https://www.aicu.jp/c

https://www.aicu.jp/c

#comfyui -frontend-package

同じカテゴリの記事

三浦 拓海
コンテンツディレクター 三浦 拓海
プロフィールを見る →

映画と連続ドラマの公開情報を追う担当。配給会社のプレスシートと公式サイトの発表日を確認したうえで執筆します。

おすすめの関連記事