-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Direct package install conflicts with vanilla ComfyUI #30
Comments
This issue has existed for a long time, I (and @exdysa) have encountered it half a year ago: comfyanonymous#3702 I thought it's probably unfixable since they both use the same package name (e.g. |
I can reproduce the issue by installing locally too. I'm not sure why in your case the from-local versus remote-git installation changes the behavior. The underlying issue is that upstream is using relative imports sometimes, but it lacks The most robust workaround is to add the missing find comfy/ comfy_extras/ -type d -exec touch {}/__init__.py \; Get-ChildItem -Path comfy/,comfy_extras/ -Directory -Recurse | ForEach-Object { if (-not (Test-Path (Join-Path $_.FullName "__init__.py"))) { New-Item -Path (Join-Path $_.FullName "__init__.py") -ItemType File } } If you run this in the ComfyUI directory, the problem should go away. If it does I can research an approach that doesn't require adding these files and otherwise behaves the same way. |
@doctorpangloss installing locally in editable mode behaves differently |
I believe you I just can't figure out why lol |
Lolol ok we are on the same page then. I just didn't specify that in the
issue wanted to clarify
…On Sun, Feb 9, 2025, 6:56 PM Benjamin Berman ***@***.***> wrote:
@doctorpangloss <https://github.com/doctorpangloss> installing locally in
editable mode behaves differently
I believe you I just can't figure out why lol
—
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB2FEJYWCV7NKWRBKRLMI7T2O7TJ5AVCNFSM6AAAAABWTRT3YCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNBWGY3DENZYGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
regarding editable mode specifically the in the meantime I strongly recommend the workaround. I can probably convince upstream to add the |
Expected Behavior
The ComfyUI fork should work as a Python package dependency alongside a vanilla ComfyUI installation, whether installed directly via pip+git or from a local clone.
Actual behavior
Working: Installing from local clone works alongside vanilla ComfyUI:
Result: Both vanilla ComfyUI and the package version function correctly along side one another.
Breaking: Direct package installation breaks vanilla ComfyUI:
Result: After this installation, the vanilla ComfyUI installation stops working. Specifically:
Steps to Reproduce
Debug Logs
Other
This fork is fantastic - it enables so many possibilities. I'm sharing this behavior because I'm genuinely unsure if it's:
Any insights would be greatly appreciated! Happy to provide more details if needed.
The text was updated successfully, but these errors were encountered: