ComfyUI-3D-Pack icon indicating copy to clipboard operation
ComfyUI-3D-Pack copied to clipboard

ImportError: cannot import name 'quaternion_to_axis_angle' from 'kornia.geometry.conversions

Open TheMindExpansionNetwork opened this issue 4 months ago • 1 comments

Hello tribe I hope you all are doing well.

so I am attempting to install with runpod and just fast dreambooth notebook.

i get this error

ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json Traceback (most recent call last): File "/workspace/ComfyUI/nodes.py", line 1887, in load_custom_node module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/workspace/ComfyUI/custom_nodes/ComfyUI-3D-Pack/init.py", line 18, in module = importlib.import_module(f".{nodes_filename}", package=name) File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/workspace/ComfyUI/custom_nodes/ComfyUI-3D-Pack/nodes.py", line 21, in from .mesh_processer.mesh_utils import ( File "/workspace/ComfyUI/custom_nodes/ComfyUI-3D-Pack/mesh_processer/mesh_utils.py", line 3, in from kornia.geometry.conversions import ( ImportError: cannot import name 'quaternion_to_axis_angle' from 'kornia.geometry.conversions' (/usr/local/lib/python3.10/dist-packages/kornia/geometry/conversions.py)

Cannot import /workspace/ComfyUI/custom_nodes/ComfyUI-3D-Pack module for custom nodes: cannot import name 'quaternion_to_axis_angle' from 'kornia.geometry.conversions' (/usr/local/lib/python3.10/dist-packages/kornia/geometry/conversions.py)

anyone know how to fix it.

TheMindExpansionNetwork avatar Mar 10 '24 19:03 TheMindExpansionNetwork

Hi friend

You may have a old kornia version installed, try: Your comfy python.exe path -s -m pip install --force-reinstall kornia

MrForExample avatar Mar 12 '24 22:03 MrForExample