mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-11-04 23:37:31 +00:00
[GH-ISSUE #396] Install failed: undefined / SyntaxError: Unexpected end of JSON input #202
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/ComfyUI-Manager#202
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @moonpebbles on GitHub (Feb 5, 2024).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/396
Hi there! I'm a newbie to ComfyUI and was hoping to get some help with this issue. When I want to install a model, I get this error message. I've attached a screenshot of my ComfyUI-Manager config file too. Any advice on how to resolve this issue would be greatly appreciated! 🙌
ComfyUI-Manager config file:

I pressed "Install" on the OpenPose (v2) model:

ComfyUI Manager error message (I get the same error message no matter what model I want to install):

run_nvidia_gpu.bat window screenshot:

[ERROR] <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host>
@ltdrdata commented on GitHub (Feb 6, 2024):
It seems you are experiencing network issue.
Try download https://huggingface.co/thibaud/controlnet-openpose-sdxl-1.0/resolve/main/OpenPoseXL2.safetensors this directly.
@moonpebbles commented on GitHub (Feb 6, 2024):
Will do, thank you!
@danlavie commented on GitHub (Feb 14, 2024):
Hey @moonpebbles,
I've just had that error with "SyntaxError: Unexpected end of JSON input", and that's how I solved it. Hope it would help anyone.
You have to make sure that Python 3.11 is the active version without having other versions like 3.12 installed.
In my case, I hade version 3.12 installed and removed, but some dependencies where left and had to be removed.
Once Python 3.11.* was the active one, everything worked as it should.
Here are the steps I took to remove Python 3.12, and after that I just reinstalled the latest Python 3.11.
To uninstall Python 3.12 and use 3.11 instead on macOS, you can follow these steps:
Uninstall Python 3.12:
Remove Residual Files:
Install Python 3.11:
It's important to note that Apple provides a pre-installed version of Python, which should not be deleted as it is used by some macOS utilities and uninstalling it can cause system errors.
Once the latest Python 3.11 was reinstalled and active, I was able to install any model using the ComfyUI Manager.
Also, check the comments area and that YouTube tutorial: https://www.youtube.com/watch?v=m9jg1fdOiVY
I hope that would help anyone reading this.
Cheers.
@moonpebbles commented on GitHub (Feb 14, 2024):
@danlavie Thank you very much!🙌 I'll certainly give it a try. So far, as a final option, I've been downloading everything directly.
@0m0Ding commented on GitHub (Jun 18, 2024):
I have a trouble, I had download about 'segment anything'model-GroundingDinoModel:groundingDINO SwinT OGC-CFG file,and I put it in my file, but I try run Comfyui about 'segment anything',it show me about :
downloading https://huggingface.co/ShilongLiu/GroundingDINO/resolve/main/GroundingDINO_SwinB.cfg.py to D:\AI\SD\ComfyUI-aki-v1.3\models\grounding-dino\GroundingDINO_SwinB.cfg.py
!!! Exception during processing!!! <urlopen error [WinError 10060]
I have the file,but it let me to download the file,and prompt error.
so,how I do, please ask me.
@ltdrdata commented on GitHub (Jun 18, 2024):
You need to ask this issue to related custom node repo.
@0m0Ding commented on GitHub (Jun 18, 2024):
这是来自GC邮箱的自动回复邮件。
您好,我会尽快给您回复。