adieyal / comfyui-dynamicprompts

ComfyUI custom nodes for Dynamic Prompts
MIT License
187 stars 20 forks source link

No module named 'dynamicprompts' #24

Closed gobshyte closed 9 months ago

gobshyte commented 9 months ago

Hi

Any idea why I am getting this please?

Traceback (most recent call last): File "C:\SDAI\ComfyUI\ComfyUI\nodes.py", line 1698, 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 "C:\SDAI\ComfyUI\ComfyUI\custom_nodes\comfyui-dynamicprompts__init.py", line 1, in from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "C:\SDAI\ComfyUI\ComfyUI\custom_nodes\comfyui-dynamicprompts\nodes\init__.py", line 1, in from .combinatorial import DPCombinatorialGenerator File "C:\SDAI\ComfyUI\ComfyUI\custom_nodes\comfyui-dynamicprompts\nodes\combinatorial.py", line 3, in from dynamicprompts.enums import SamplingMethod ModuleNotFoundError: No module named 'dynamicprompts'

Cannot import C:\SDAI\ComfyUI\ComfyUI\custom_nodes\comfyui-dynamicprompts module for custom nodes: No module named 'dynamicprompts'

gobshyte commented 9 months ago

My bad sorry, I was using the wrong python install, I used the embedded python under comfyui folder and it's now working.