Skip to content

Nodes doesn't load: ImportError: Numba needs NumPy 2.2 or less. Got NumPy 2.3. #42

@kurthectic

Description

@kurthectic

Hello,

Can't load nodes on the recent comfy ui\python.
ImportError: Numba needs NumPy 2.2 or less. Got NumPy 2.3.

and problem with tensorflow-intel 2.17.1 which also require different version :(

So far I wasn't able to run H3d 2.1 :(

File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2129, 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 "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Hunyuan3d-2-1_init
.py", line 1, in
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Hunyuan3d-2-1\nodes.py", line 21, in
from .hy3dshape.hy3dshape.rembg import BackgroundRemover
File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Hunyuan3d-2-1\hy3dshape\hy3dshape\rembg.py", line 16, in
from rembg import remove, new_session
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\rembg_init_.py", line 5, in
from .bg import remove
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\rembg\bg.py", line 18, in
from pymatting.alpha.estimate_alpha_cf import estimate_alpha_cf
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pymatting_init_.py", line 2, in
from pymatting.util import *
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pymatting\util_init_.py", line 2, in
from pymatting.util.kdtree import KDTree, knn
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pymatting\util\kdtree.py", line 2, in
from numba import njit, prange
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\numba_init_.py", line 59, in
ensure_critical_deps()
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\numba_init
.py", line 45, in _ensure_critical_deps
raise ImportError(msg)
ImportError: Numba needs NumPy 2.2 or less. Got NumPy 2.3.

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