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

ModuleNotFoundError: No module named 'inference_core_nodes.controlnet_preprocessors.utils' #19

Open
gerroon opened this issue Jun 2, 2024 · 2 comments

Comments

@gerroon
Copy link

gerroon commented Jun 2, 2024

Hi

How can I fix this error?

Windows 11, ComfyUI: 220558c983 Manager: V2.35.1

Config Export Error[Errno 2] No such file or directory: 'XXXHOST-PATHXXX\\PATH_CFG.json'### Loading: ComfyUI-Impact-Pack (V5.7)
### Loading: ComfyUI-Impact-Pack (Subpack: V0.5)
[Impact Pack] Wildcards loading done.
Traceback (most recent call last):
  File "c:\ComfyUI_windows_portable_nightly_pytorch\ComfyUI\nodes.py", line 1879, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "c:\ComfyUI_windows_portable_nightly_pytorch\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes\__init__.py", line 1, in <module>
    from inference_core_nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "c:\ComfyUI_windows_portable_nightly_pytorch\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes\src\inference_core_nodes\__init__.py", line 57, in <module>
    NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS = _get_node_mappings()
                                                      ^^^^^^^^^^^^^^^^^^^^
  File "c:\ComfyUI_windows_portable_nightly_pytorch\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes\src\inference_core_nodes\__init__.py", line 36, in _get_node_mappings
    submodule = importlib.import_module(f"{__name__}.{submodule_info.name}")
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "importlib\__init__.py", line 126, in import_module
  File "c:\ComfyUI_windows_portable_nightly_pytorch\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes\src\inference_core_nodes\controlnet_preprocessors\__init__.py", line 2, in <module>
    from .utils import here, create_node_input_types
ModuleNotFoundError: No module named 'inference_core_nodes.controlnet_preprocessors.utils'

@andycuccaro
Copy link

I'm facing the same error, also on Windows 11. I don't know if it matters, but I have installed the portable version of ComfyUI (downloaded from here: https://github.com/comfyanonymous/ComfyUI/releases/download/latest/ComfyUI_windows_portable_nvidia_or_cpu.7z).

@belgriffinite
Copy link

I also have this issue, did anyone find a fix?

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

3 participants