ComfyUI_3dPoseEditor icon indicating copy to clipboard operation
ComfyUI_3dPoseEditor copied to clipboard

Failure to Import, Disutils depreciated in Python 3.12

Open ElronddHubbard opened this issue 6 months ago • 0 comments

I keep getting an Import Failed notification when using this node.

Upon further investigation, it appears that distutils was removed in Python 3.12 in favor of setuptools. Attached is the error message.

Traceback (most recent call last):
  File "/home/user/ComfyUI/nodes.py", line 2131, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/home/user/ComfyUI/custom_nodes/ComfyUI_3dPoseEditor/__init__.py", line 11, in <module>
    from distutils.dir_util import copy_tree
ModuleNotFoundError: No module named 'distutils'

ElronddHubbard avatar May 26 '25 18:05 ElronddHubbard