daxcay/ComfyUI-JDCN

Module error

davizca opened this issue · 4 comments

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?

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

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

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!

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