adieyal / comfyui-dynamicprompts

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

Error after update #59

Closed OPeixe closed 6 days ago

OPeixe commented 6 days ago

Hi, I was using the nodes normally until I updated everything a day ago. Now it won't load:

Cannot import ...ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-dynamicprompts module for custom nodes: Failed to import transformers.pipelines because of the following error (look up to see its traceback): jaxlib version 0.4.30 is newer than and incompatible with jax version 0.4.25. Please update your jax and/or jaxlib packages.

Thanks for any help, I use the Random Prompts everywhere and now can't use my workflows.

OPeixe commented 6 days ago

Hey,

I finally solved it upgrading the jax package like:

... \ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable>.\python_embeded\python.exe -m pip install jax --upgrade

It was obvious the jax and jaxlib were different icompatible versions, but I just didn't figure out how to use pip in the portable version.

Closed.