Skip to content
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

not able to imported this node #33

Open
rongtian0927 opened this issue Feb 25, 2025 · 1 comment
Open

not able to imported this node #33

rongtian0927 opened this issue Feb 25, 2025 · 1 comment

Comments

@rongtian0927
Copy link

Traceback (most recent call last):
File "D:\ComfyUI_windows_portable_nvidia\ComfyUI\nodes.py", line 2112, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "D:\ComfyUI_windows_portable_nvidia\ComfyUI\custom_nodes\comfyui_face_parsing_init
.py", line 29, in
import pkg_resources
File "D:\ComfyUI_windows_portable_nvidia\python_embeded\Lib\site-packages\pkg_resources_init_.py", line 2192
register_finder(pkgutil.ImpImporter, find_on_path)
^^^^^^^^^^^^^^^
IndentationError: expected an indented block after 'if' statement on line 2191

Cannot import D:\ComfyUI_windows_portable_nvidia\ComfyUI\custom_nodes\comfyui_face_parsing module for custom nodes: expected an indented block after 'if' statement on line 2191 (init.py, line 2192)

I have download requirment folder from hugging face and reinstall the opencv. still not able to import node, please help thank you

@Czargasm
Copy link

I had a similar problem and I fixed it by updating setuptools

pip install --upgrade setuptools

It's some problem with using python 3.12 but this seems to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants