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

Problems loading nodes. Looks like nodes are loaded but errors are shown. #394

Open
mcDandy opened this issue Jul 6, 2024 · 0 comments
Open

Comments

@mcDandy
Copy link

mcDandy commented Jul 6, 2024


Full error log from comfyui_controlnet_aux: 
Traceback (most recent call last):
  File "F:\stability\Data\Packages\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes\src\inference_core_nodes\controlnet_preprocessors\__init__.py", line 32, in load_nodes
    module = importlib.import_module(
  File "importlib\__init__.py", line 126, in import_module
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "F:\stability\Data\Packages\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes\src\inference_core_nodes\controlnet_preprocessors\node_wrappers\dwpose.py", line 5, in <module>
    from controlnet_aux.dwpose import DwposeDetector, AnimalposeDetector
  File "F:\stability\Data\Packages\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes\src\inference_core_nodes\controlnet_preprocessors\src\controlnet_aux\dwpose\__init__.py", line 8, in <module>
    import torch.utils.benchmark as benchmark
  File "F:\stability\Data\Packages\ComfyUI\venv\lib\site-packages\torch\utils\benchmark\__init__.py", line 2, in <module>
    from torch.utils.benchmark.utils.timer import *  # noqa: F403
  File "F:\stability\Data\Packages\ComfyUI\venv\lib\site-packages\torch\utils\benchmark\utils\timer.py", line 8, in <module>
    from torch.utils.benchmark.utils import common, cpp_jit
  File "F:\stability\Data\Packages\ComfyUI\venv\lib\site-packages\torch\utils\benchmark\utils\cpp_jit.py", line 13, in <module>
    from torch.utils import cpp_extension
  File "F:\stability\Data\Packages\ComfyUI\venv\lib\site-packages\torch\utils\cpp_extension.py", line 28, in <module>
    from pkg_resources import packaging  # type: ignore[attr-defined]
ImportError: cannot import name 'packaging' from 'pkg_resources' (F:\stability\Data\Packages\ComfyUI\venv\lib\site-packages\pkg_resources\__init__.py)



[inference_core_nodes.controlnet_preprocessors] | INFO -> Some nodes failed to load:
	Failed to import module dwpose because ImportError: cannot import name 'packaging' from 'pkg_resources' (F:\stability\Data\Packages\ComfyUI\venv\lib\site-packages\pkg_resources\__init__.py)

Check that you properly installed the dependencies.
If you think this is a bug, please report it on the github page (https://github.com/Fannovel16/comfyui_controlnet_aux/issues)
F:\stability\Data\Packages\ComfyUI\venv\lib\site-packages\diffusers\models\transformers\transformer_2d.py:34: FutureWarning: `Transformer2DModelOutput` is deprecated and will be removed in version 1.0.0. Importing `Transformer2DModelOutput` from `diffusers.models.transformer_2d` is deprecated and this will be removed in a future version. Please use `from diffusers.models.modeling_outputs import Transformer2DModelOutput`, instead.
  deprecate("Transformer2DModelOutput", "1.0.0", deprecation_message)
### Loading: ComfyUI-Manager (V2.43)
### ComfyUI Revision: 2336 [80c45909] | Released on '2024-07-06'
Use STYLE(weight_interpretation, normalization) at the start of a prompt to use advanced encodings
Weight interpretations available: comfy,perp
Normalization types available: none
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

1 participant