Open CHollman82 opened 9 months ago
I noticed the configuration json file and the history json file were corrupt so I deleted them, reran comfyui, and now it works. Not sure how it happened.
I noticed the configuration json file and the history json file were corrupt so I deleted them, reran comfyui, and now it works. Not sure how it happened.
Same for me but your solution is not working for me :/
Console logs would be the most beneficial thing to solve any import errors of the custom_node. If you have them, please copy them and paste or upload them here.
Had the same issue today cause for me was Numba needs NumPy 1.25
fixed by running python_embeded\python.exe -s -m pip install numpy==1.25
from root comfy ui folder.
Console logs would be the most beneficial thing to solve any import errors of the custom_node. If you have them, please copy them and paste or upload them here.
Hi sir, this my error
WAS Node Suite: Created default conf file at C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json
.
ERROR: Exception:
Traceback (most recent call last):
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\cli\base_command.py", line 180, in exc_logging_wrapper
status = run_func(*args)
^^^^^^^^^^^^^^^
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\commands\freeze.py", line 98, in run
for line in freeze(
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 43, in freeze
req = FrozenRequirement.from_dist(dist)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 238, in from_dist
req, comments = _get_editable_info(dist)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 165, in _get_editable_info
vcs_backend = vcs.get_backend_for_dir(location)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\versioncontrol.py", line 238, in get_backend_for_dir
repo_path = vcs_backend.get_repository_root(location)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\git.py", line 501, in get_repository_root
r = cls.run_command(
^^^^^^^^^^^^^^^^
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\versioncontrol.py", line 650, in run_command
return call_subprocess(
^^^^^^^^^^^^^^^^
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\utils\subprocess.py", line 141, in call_subprocess
proc = subprocess.Popen(
^^^^^^^^^^^^^^^^^
File "subprocess.py", line 1026, in init
File "subprocess.py", line 1538, in _execute_child
NotADirectoryError: [WinError 267] Dizin adı geçersiz
Traceback (most recent call last):
File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1887, in load_custom_node
module_spec.loader.exec_module(module)
File "
Cannot import C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui module for custom nodes: Command '['C:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe', '-s', '-m', 'pip', 'freeze']' returned non-zero exit status 2.
Console logs would be the most beneficial thing to solve any import errors of the custom_node. If you have them, please copy them and paste or upload them here.
Hi sir, this my error
WAS Node Suite: Created default conf file at
C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json
. ERROR: Exception: Traceback (most recent call last): File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\cli\base_command.py", line 180, in exc_logging_wrapper status = run_func(*args) ^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\commands\freeze.py", line 98, in run for line in freeze( File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 43, in freeze req = FrozenRequirement.from_dist(dist) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 238, in from_dist req, comments = _get_editable_info(dist) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 165, in _get_editable_info vcs_backend = vcs.get_backend_for_dir(location) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\versioncontrol.py", line 238, in get_backend_for_dir repo_path = vcs_backend.get_repository_root(location) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\git.py", line 501, in get_repository_root r = cls.run_command( ^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\versioncontrol.py", line 650, in run_command return call_subprocess( ^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\utils\subprocess.py", line 141, in call_subprocess proc = subprocess.Popen( ^^^^^^^^^^^^^^^^^ File "subprocess.py", line 1026, in init File "subprocess.py", line 1538, in _execute_child NotADirectoryError: [WinError 267] Dizin adı geçersiz Traceback (most recent call last): File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1887, 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\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyuiinit.py", line 1, in from .WAS_Node_Suite import NODE_CLASS_MAPPINGS File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 14103, in if 'opencv-python' in packages() or 'opencv-python-headless' in packages(): ^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 336, in packages return [( r.decode().split('==')[0] if not versions else r.decode() ) for r in subprocess.check_output([sys.executable, '-s', '-m', 'pip', 'freeze']).split()] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "subprocess.py", line 466, in check_output File "subprocess.py", line 571, in run subprocess.CalledProcessError: Command '['C:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe', '-s', '-m', 'pip', 'freeze']' returned non-zero exit status 2.Cannot import C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui module for custom nodes: Command '['C:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe', '-s', '-m', 'pip', 'freeze']' returned non-zero exit status 2.
After config.json file restored/created:
ERROR: Exception:
Traceback (most recent call last):
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\cli\base_command.py", line 180, in exc_logging_wrapper
status = run_func(*args)
^^^^^^^^^^^^^^^
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\commands\freeze.py", line 98, in run
for line in freeze(
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 43, in freeze
req = FrozenRequirement.from_dist(dist)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 238, in from_dist
req, comments = _get_editable_info(dist)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 165, in _get_editable_info
vcs_backend = vcs.get_backend_for_dir(location)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\versioncontrol.py", line 238, in get_backend_for_dir
repo_path = vcs_backend.get_repository_root(location)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\git.py", line 501, in get_repository_root
r = cls.run_command(
^^^^^^^^^^^^^^^^
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\versioncontrol.py", line 650, in run_command
return call_subprocess(
^^^^^^^^^^^^^^^^
File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\utils\subprocess.py", line 141, in call_subprocess
proc = subprocess.Popen(
^^^^^^^^^^^^^^^^^
File "subprocess.py", line 1026, in init
File "subprocess.py", line 1538, in _execute_child
NotADirectoryError: [WinError 267] Dizin adı geçersiz
Traceback (most recent call last):
File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1887, in load_custom_node
module_spec.loader.exec_module(module)
File "
Cannot import C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui module for custom nodes: Command '['C:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe', '-s', '-m', 'pip', 'freeze']' returned non-zero exit status 2.
Not sure why that would be returning exit code 2, pip freeze is a common pip command. Is portable installation installed correctly?
On Sat, Feb 24, 2024, 4:50 AM cerarslan @.***> wrote:
Console logs would be the most beneficial thing to solve any import errors of the custom_node. If you have them, please copy them and paste or upload them here.
Hi sir, this my error
WAS Node Suite: Created default conf file at C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json. ERROR: Exception: Traceback (most recent call last): File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\cli\base_command.py", line 180, in exc_logging_wrapper status = run_func(args) ^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\commands\freeze.py", line 98, in run for line in freeze( File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 43, in freeze req = FrozenRequirement.from_dist(dist) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 238, in from_dist req, comments = _get_editable_info(dist) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 165, in _get_editable_info vcs_backend = vcs.get_backend_for_dir(location) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\versioncontrol.py", line 238, in get_backend_for_dir repo_path = vcs_backend.get_repository_root(location) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\git.py", line 501, in get_repository_root r = cls.run_command( ^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\versioncontrol.py", line 650, in run_command return call_subprocess( ^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\utils\subprocess.py", line 141, in call_subprocess proc = subprocess.Popen( ^^^^^^^^^^^^^^^^^ File "subprocess.py", line 1026, in init File "subprocess.py", line 1538, in execute_child NotADirectoryError: [WinError 267] Dizin adı geçersiz Traceback (most recent call last): File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1887, 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\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui__init*.py", line 1, in from .WAS_Node_Suite import NODE_CLASS_MAPPINGS File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 14103, in if 'opencv-python' in packages() or 'opencv-python-headless' in packages(): ^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 336, in packages return [( r.decode().split('==')[0] if not versions else r.decode() ) for r in subprocess.check_output([sys.executable, '-s', '-m', 'pip', 'freeze']).split()] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "subprocess.py", line 466, in check_output File "subprocess.py", line 571, in run subprocess.CalledProcessError: Command '['C:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe', '-s', '-m', 'pip', 'freeze']' returned non-zero exit status 2.
Cannot import C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui module for custom nodes: Command '['C:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe', '-s', '-m', 'pip', 'freeze']' returned non-zero exit status 2.
After config.json file restored/created:
ERROR: Exception: Traceback (most recent call last): File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\cli\base_command.py", line 180, in exc_logging_wrapper status = run_func(args) ^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\commands\freeze.py", line 98, in run for line in freeze( File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 43, in freeze req = FrozenRequirement.from_dist(dist) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 238, in from_dist req, comments = _get_editable_info(dist) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 165, in _get_editable_info vcs_backend = vcs.get_backend_for_dir(location) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\versioncontrol.py", line 238, in get_backend_for_dir repo_path = vcs_backend.get_repository_root(location) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\git.py", line 501, in get_repository_root r = cls.run_command( ^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\versioncontrol.py", line 650, in run_command return call_subprocess( ^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\utils\subprocess.py", line 141, in call_subprocess proc = subprocess.Popen( ^^^^^^^^^^^^^^^^^ File "subprocess.py", line 1026, in init File "subprocess.py", line 1538, in _execute_child NotADirectoryError: [WinError 267] Dizin adı geçersiz Traceback (most recent call last): File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1887, 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\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui_init*.py", line 1, in from .WAS_Node_Suite import NODE_CLASS_MAPPINGS File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 14103, in if 'opencv-python' in packages() or 'opencv-python-headless' in packages(): ^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 336, in packages return [( r.decode().split('==')[0] if not versions else r.decode() ) for r in subprocess.check_output([sys.executable, '-s', '-m', 'pip', 'freeze']).split()] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "subprocess.py", line 466, in check_output File "subprocess.py", line 571, in run subprocess.CalledProcessError: Command '['C:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe', '-s', '-m', 'pip', 'freeze']' returned non-zero exit status 2.
Cannot import C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui module for custom nodes: Command '['C:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe', '-s', '-m', 'pip', 'freeze']' returned non-zero exit status 2.
— Reply to this email directly, view it on GitHub https://github.com/WASasquatch/was-node-suite-comfyui/issues/348#issuecomment-1962356100, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZEZLP5CBCRY6W2SQAFSLYVHOYFAVCNFSM6AAAAABDWHZPVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRSGM2TMMJQGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Not sure why that would be returning exit code 2, pip freeze is a common pip command. Is portable installation installed correctly? … On Sat, Feb 24, 2024, 4:50 AM cerarslan @.> wrote: Console logs would be the most beneficial thing to solve any import errors of the custom_node. If you have them, please copy them and paste or upload them here. Hi sir, this my error WAS Node Suite: Created default conf file at C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json. ERROR: Exception: Traceback (most recent call last): File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\cli\base_command.py", line 180, in exc_logging_wrapper status = run_func(args) ^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\commands\freeze.py", line 98, in run for line in freeze( File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 43, in freeze req = FrozenRequirement.from_dist(dist) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 238, in from_dist req, comments = _get_editable_info(dist) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 165, in _get_editable_info vcs_backend = vcs.get_backend_for_dir(location) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\versioncontrol.py", line 238, in get_backend_for_dir repo_path = vcs_backend.get_repository_root(location) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\git.py", line 501, in get_repository_root r = cls.run_command( ^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\versioncontrol.py", line 650, in run_command return call_subprocess( ^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\utils\subprocess.py", line 141, in call_subprocess proc = subprocess.Popen( ^^^^^^^^^^^^^^^^^ File "subprocess.py", line 1026, in init File "subprocess.py", line 1538, in execute_child NotADirectoryError: [WinError 267] Dizin adı geçersiz Traceback (most recent call last): File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1887, 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\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui__init.py", line 1, in from .WAS_Node_Suite import NODE_CLASS_MAPPINGS File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 14103, in if 'opencv-python' in packages() or 'opencv-python-headless' in packages(): ^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 336, in packages return [( r.decode().split('==')[0] if not versions else r.decode() ) for r in subprocess.check_output([sys.executable, '-s', '-m', 'pip', 'freeze']).split()] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "subprocess.py", line 466, in check_output File "subprocess.py", line 571, in run subprocess.CalledProcessError: Command '['C:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe', '-s', '-m', 'pip', 'freeze']' returned non-zero exit status 2. Cannot import C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui module for custom nodes: Command '['C:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe', '-s', '-m', 'pip', 'freeze']' returned non-zero exit status 2. After config.json file restored/created: ERROR: Exception: Traceback (most recent call last): File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\cli\base_command.py", line 180, in exc_logging_wrapper status = run_func(args) ^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\commands\freeze.py", line 98, in run for line in freeze( File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 43, in freeze req = FrozenRequirement.from_dist(dist) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 238, in from_dist req, comments = _get_editable_info(dist) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\freeze.py", line 165, in _get_editable_info vcs_backend = vcs.get_backend_for_dir(location) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\versioncontrol.py", line 238, in get_backend_for_dir repo_path = vcs_backend.get_repository_root(location) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\git.py", line 501, in get_repository_root r = cls.run_command( ^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\vcs\versioncontrol.py", line 650, in run_command return call_subprocess( ^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\utils\subprocess.py", line 141, in call_subprocess proc = subprocess.Popen( ^^^^^^^^^^^^^^^^^ File "subprocess.py", line 1026, in init File "subprocess.py", line 1538, in _execute_child NotADirectoryError: [WinError 267] Dizin adı geçersiz Traceback (most recent call last): File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1887, 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\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui_init.py", line 1, in from .WAS_Node_Suite import NODE_CLASS_MAPPINGS File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 14103, in if 'opencv-python' in packages() or 'opencv-python-headless' in packages(): ^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 336, in packages return [( r.decode().split('==')[0] if not versions else r.decode() ) for r in subprocess.check_output([sys.executable, '-s', '-m', 'pip', 'freeze']).split()] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "subprocess.py", line 466, in check_output File "subprocess.py", line 571, in run subprocess.CalledProcessError: Command '['C:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe', '-s', '-m', 'pip', 'freeze']' returned non-zero exit status 2. Cannot import C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui module for custom nodes: Command '['C:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe', '-s', '-m', 'pip', 'freeze']' returned non-zero exit status 2. — Reply to this email directly, view it on GitHub <#348 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZEZLP5CBCRY6W2SQAFSLYVHOYFAVCNFSM6AAAAABDWHZPVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRSGM2TMMJQGA . You are receiving this because you are subscribed to this thread.Message ID: @.>
Yes sir, I am pretty sure it is correct
I solved this problem by copying the Lib folder in local python to comfyUI_portable>python_embeded>Lib
which folder you copied? from where?
python_embeded\python.exe -s -m pip install numpy==1.25
This works for me in Ubuntu. But after downgrading from numpy 1.26.4 to 1.25, I had to upgrade opencv-python-headless 4.7.0.72 to opencv-python-headless==4.9.0.80 for other nodes to keep working.
python_embeded\python.exe -s -m pip install numpy==1.25
This works for me in Ubuntu. But after downgrading from numpy 1.26.4 to 1.25, I had to upgrade opencv-python-headless 4.7.0.72 to opencv-python-headless==4.9.0.80 for other nodes to keep working.
Wait, so. Higher version of opencv needs a lower version of numpy? 😂 Classic.
python_embeded\python.exe -s -m pip install numpy==1.25
This works for me in Ubuntu. But after downgrading from numpy 1.26.4 to 1.25, I had to upgrade opencv-python-headless 4.7.0.72 to opencv-python-headless==4.9.0.80 for other nodes to keep working.
Wait, so. Higher version of opencv needs a lower version of numpy? 😂 Classic.
NumPy 1.25 works fine with opencv-python-headless 4.7.0.72, but I need opencv-python-headless==4.9.0.80 for other nodes to work. All dependencies are working fine with these package versions together.