Skip to content

ModuleNotFoundError: No module named 'cv2' #25

Description

@youngzhenhao

在 Comfy Desktop 管理扩展功能 中安装之后,存在冲突

错误

Traceback (most recent call last):
  File "C:\Users\wlt\AppData\Local\Comfy-Desktop\ComfyUI-Installs\ComfyUI\ComfyUI\nodes.py", line 2220, in load_custom_node
    module_spec.loader.exec_module(module)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "<frozen importlib._bootstrap_external>", line 1023, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\Users\wlt\AppData\Local\Comfy-Desktop\ComfyUI-Installs\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Jimeng-API\__init__.py", line 151, in <module>
    from .nodes.nodes_shared import JimengAPIClient
  File "C:\Users\wlt\AppData\Local\Comfy-Desktop\ComfyUI-Installs\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Jimeng-API\nodes\nodes_shared.py", line 15, in <module>
    import cv2
ModuleNotFoundError: No module named 'cv2'

截图

Image

环境

Windows11
Comfy Desktop 1.0.27
ComfyUI v0.26.1
Python 3.13.12
PyTorch 2.10.0+cu130

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions