Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
a38b9b3a
Commit
a38b9b3a
authored
Mar 04, 2024
by
comfyanonymous
Browse files
Add debugging info for when comfy_extra nodes fail to import.
parent
b7b55931
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
nodes.py
nodes.py
+14
-1
No files found.
nodes.py
View file @
a38b9b3a
...
...
@@ -1965,7 +1965,20 @@ def init_custom_nodes():
"nodes_differential_diffusion.py"
,
]
import_failed
=
[]
for
node_file
in
extras_files
:
load_custom_node
(
os
.
path
.
join
(
extras_dir
,
node_file
))
if
not
load_custom_node
(
os
.
path
.
join
(
extras_dir
,
node_file
)):
import_failed
.
append
(
node_file
)
load_custom_nodes
()
if
len
(
import_failed
)
>
0
:
print
(
"WARNING: some comfy_extras/ nodes did not import correctly. This may be because they are missing some dependencies.
\n
"
)
for
node
in
import_failed
:
print
(
"IMPORT FAILED: {}"
.
format
(
node
))
print
(
"
\n
This issue might be caused by missing dependencies."
)
if
args
.
windows_standalone_build
:
print
(
"Please run the update script: update/update_comfyui.bat"
)
else
:
print
(
"Please do a: pip install -r requirements.txt"
)
print
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment