FizzleDorf / ComfyUI_FizzNodes

Custom Nodes for Comfyui
MIT License
370 stars 56 forks source link

import failed #105

Closed fresno808 closed 2 weeks ago

fresno808 commented 1 month ago

No matter how many times Ive tried installing and reinstalling, either through manager or git pull, I get an import error. Any ideas on how to fix it?

fresno808 commented 1 month ago

Cannot import C:\Users\djtid\OneDrive\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_FizzNodes module for custom nodes: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject [comfy_mtb] | INFO -> loaded 78 nodes successfuly [comfy_mtb] | INFO -> Some nodes (5) could not be loaded. This can be ignored, but go to http://127.0.0.1:8188/mtb if you want more information. Traceback (most recent call last): File "C:\Users\djtid\OneDrive\Documents\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1931, in load_custom_node module_spec.loader.exec_module(module) File "", line 936, in exec_module File "", line 1073, in get_code File "", line 1130, in get_data FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\djtid\OneDrive\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ControlNet-LLLite-ComfyUI\init.py'

FizzleDorf commented 1 month ago

numpy was removed from the comfyui requirements. try reinstalling the requirements.txt file with pip.

FizzleDorf commented 1 month ago

I'll be closing this issue for no response. If you are still having issues, make a reply here I'll re-open the issue.

fresno808 commented 1 month ago

I reinstalled requirements with pip and got this.

C:\Users\djtid\OneDrive\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_FizzNodes>python -m pip install -r requirements.txt Requirement already satisfied: numpy in c:\users\djtid\appdata\roaming\python\python311\site-packages (from -r requirements.txt (line 1)) (1.26.4) Requirement already satisfied: pandas in c:\users\djtid\appdata\roaming\python\python311\site-packages (from -r requirements.txt (line 2)) (2.2.1) Requirement already satisfied: numexpr in c:\users\djtid\appdata\local\programs\python\python311\lib\site-packages (from -r requirements.txt (line 3)) (2.10.1) Requirement already satisfied: python-dateutil>=2.8.2 in c:\users\djtid\appdata\roaming\python\python311\site-packages (from pandas->-r requirements.txt (line 2)) (2.9.0.post0) Requirement already satisfied: pytz>=2020.1 in c:\users\djtid\appdata\roaming\python\python311\site-packages (from pandas->-r requirements.txt (line 2)) (2024.1) Requirement already satisfied: tzdata>=2022.7 in c:\users\djtid\appdata\roaming\python\python311\site-packages (from pandas->-r requirements.txt (line 2)) (2024.1) Requirement already satisfied: six>=1.5 in c:\users\djtid\appdata\roaming\python\python311\site-packages (from python-dateutil>=2.8.2->pandas->-r requirements.txt (line 2)) (1.16.0)

FizzleDorf commented 1 month ago

FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\djtid\OneDrive\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ControlNet-LLLite-ComfyUI\init.py' try reinstalling controlnetllite

FizzleDorf commented 1 month ago

actually, can you find the rest of the error? The message where it says it cannot import fizznodes is the tail end of it. you can find it easier with ctrl + f then search fizznodes

fresno808 commented 1 month ago

i just copied everything that says fizznodes

File "C:\Users\djtid\OneDrive\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_FizzNodes__init.py", line 57, in from .ScheduledNodes import ( File "C:\Users\djtid\OneDrive\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_FizzNodes\ScheduledNodes.py", line 7, in import pandas as pd File "C:\Users\djtid\AppData\Roaming\Python\Python311\site-packages\pandas__init__.py", line 62, in from pandas.core.api import ( File "C:\Users\djtid\AppData\Roaming\Python\Python311\site-packages\pandas\core\api.py", line 1, in from pandas._libs import ( File "C:\Users\djtid\AppData\Roaming\Python\Python311\site-packages\pandas_libs\init__.py", line 18, in from pandas._libs.interval import Interval File "interval.pyx", line 1, in init pandas._libs.interval ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Cannot import C:\Users\djtid\OneDrive\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_FizzNodes module for custom nodes: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

FizzleDorf commented 1 month ago

pip install numpy==1.21.0 pandas==1.3.0 try using these versions of numpy and pandas