Make the missing frontend package error more obvious.

This commit is contained in:
comfyanonymous 2025-03-02 15:43:56 -05:00
parent 04cf0ccb51
commit 6752a826f6

View File

@ -21,7 +21,7 @@ try:
import comfyui_frontend_package
except ImportError as e:
# TODO: Remove the check after roll out of 0.3.16
logging.error("comfyui-frontend-package is not installed. Please install the updated requirements.txt file by running: pip install -r requirements.txt")
logging.error("\n\n********** ERROR ***********\n\ncomfyui-frontend-package is not installed. Please install the updated requirements.txt file by running:\npip install -r requirements.txt\n\nThis error is happening because the ComfyUI frontend is no longer shipped as part of the main repo but as a pip package instead.\n********** ERROR **********\n")
raise e