Open Xenodimensional opened 5 months ago
Issue still present. I have switched to the Wildcard prompts nodes and live in hope it's just a temporary thing :)
The issue is still present, I tried uninstalling TF - I ran the following command in CMD in the Comfy python embed folder, the site packages folder, in the main comfy folder etc:
$ pip uninstall tensorflow WARNING: Skipping tensorflow as it is not installed.
I used the install pip packages feature of the Comfy Manager and it says: Requirement already satisfied: tensorflow in c:\comfyui_windows_portable\python_embeded\lib\site-packages (2.15.0) (Plus a lot more)
I would really appreciate if someone could help me and break it down - Can I delete all the tensorflow folders in the site packages folder and try reinstalling from the manager and hope for the best?
Anyone? I still can't get this to work? Please help!!
At this point I have to consider this extension to be abandonware?
Im having the same error
I'm sorry to hear, the developer has been mia for months and I haven't been able to fix it :(
Wow, thanks for your help Mr developer /s. Six months since I placed this request for help and you have dropped this like a proverbial bag of flaming crap it seems. Cheers.
This is what it throws at me, I tried removing and re-installing and updating the ui
Traceback (most recent call last): File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transformers\utils\import_utils.py", line 1282, in _get_module return importlib.import_module("." + module_name, self.name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "importlib__init__.py", line 126, in import_module File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transformers\pipelines__init.py", line 28, in
from ..image_processing_utils import BaseImageProcessor
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transformers\image_processing_utils.py", line 28, in
from .image_transforms import center_crop, normalize, rescale
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transformers\image_transforms.py", line 47, in
import tensorflow as tf
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\tensorflow\ init__.py", line 45, in
from tensorflow.python import tf2 as _tf2
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\tensorflow\python\tf2.py", line 21, in
from tensorflow.python.platform import _pywrap_tf2
ImportError: DLL load failed while importing _pywrap_tf2: A dynamic link library (DLL) initialization routine failed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "C:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1872, 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 "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-dynamicprompts__init.py", line 1, in
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-dynamicprompts\nodes__init__.py", line 4, in
from .magicprompt import DPMagicPrompt
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-dynamicprompts\nodes\magicprompt.py", line 4, in
from dynamicprompts.generators.magicprompt import MagicPromptGenerator
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\dynamicprompts\generators\magicprompt.py", line 13, in
from transformers import (
File "", line 1229, in _handle_fromlist
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transformers\utils\import_utils.py", line 1272, in getattr__
module = self._get_module(self._class_to_module[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transformers\utils\import_utils.py", line 1284, in _get_module
raise RuntimeError(
RuntimeError: Failed to import transformers.pipelines because of the following error (look up to see its traceback):
DLL load failed while importing _pywrap_tf2: A dynamic link library (DLL) initialization routine failed.
Cannot import C:\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): DLL load failed while importing _pywrap_tf2: A dynamic link library (DLL) initialization routine failed.