daxcay / ComfyUI-JDCN

ComfyUI-JDCN, Custom Utility Nodes for Artists, Designers and Animators.
MIT License
93 stars 9 forks source link

Module error #4

Closed davizca closed 7 months ago

davizca commented 7 months ago

Im getting this message:

Traceback (most recent call last): File "D:\AI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1864, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-JDCN__init__.py", line 41, in from .LogicUtil.io_node import CLASS_MAPPINGS as IOMapping, CLASS_NAMES as IONames File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-JDCN\LogicUtil\io_node.py", line 6, in from .exif.exif import read_info_from_image_stealth File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-JDCN\LogicUtil\exif\exif.py", line 3, in import piexif ModuleNotFoundError: No module named 'piexif'

Cannot import D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-JDCN module for custom nodes: No module named 'piexif'

Any help here?

daxcay commented 7 months ago

I have updated the node please reinstall it by deleting ComfyUI-JDCN Folder and reinstall it using manager.

In case if the issue persists close everything,

Open CMD on comfyui path.

For example:

D:\StabilityAI\Packages\ComfyUI 

image

image

And then write this to activate the environment

.\venv\Scripts\activate

image

At last write this command:

pip install piexif

image

Close after its done!

And start ComfyUI.

Do let me know if the issue was fixed by reinstalling node or using CMD method.

You can contact me on my discord server: https://discord.gg/GZVGqSHT

davizca commented 7 months ago

Thanks a lot. I'm not at home now but will try it and report results. Thanks for the quick response!

davizca commented 7 months ago

Hi again, you can close the issue since worked. What I did was just uninstall the old node, install via git clone the new one and update (try update) via ComfyUI Manager. Worked like a charm. Thanks for this!

daxcay commented 7 months ago

Solution: Delete ComfyUI-JDCN Folder and Re-install it using comfy ui manager.