Skip to content

Installation error #15

Open
Open
@Dragoy

Description

@Dragoy

When I try to run the installation with install.py, I get a bunch of errors in the console at once:

Obtaining file:///D:/Program%20Files/Stable%20Diffusion/ComfyUI_windows_portable/ComfyUI/custom_nodes/ComfyUI-Inference-Core-Nodes
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
ERROR: Exception:
Traceback (most recent call last):
File "D:\Program Files\Stable Diffusion\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 "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\cli\req_command.py", line 245, in wrapper
return func(self, options, args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\commands\install.py", line 377, in run
requirement_set = resolver.resolve(
^^^^^^^^^^^^^^^^^
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\resolver.py", line 76, in resolve
collected = self.factory.collect_root_requirements(root_reqs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\factory.py", line 534, in collect_root_requirements
reqs = list(
^^^^^
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\factory.py", line 490, in _make_requirements_from_install_req
cand = self._make_base_candidate_from_link(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\factory.py", line 207, in _make_base_candidate_from_link
self._editable_candidate_cache[link] = EditableCandidate(
^^^^^^^^^^^^^^^^^^
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 315, in init
super().init(
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 156, in init
self.dist = self._prepare()
^^^^^^^^^^^^^^^
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 222, in _prepare
dist = self._prepare_distribution()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 325, in _prepare_distribution
return self._factory.preparer.prepare_editable_requirement(self._ireq)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\prepare.py", line 696, in prepare_editable_requirement
dist = _get_prepared_distribution(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\prepare.py", line 71, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\distributions\sdist.py", line 52, in prepare_distribution_metadata
self.req.isolated_editable_sanity_check()
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\req\req_install.py", line 545, in isolated_editable_sanity_check
and not self.supports_pyproject_editable()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\req\req_install.py", line 257, in supports_pyproject_editable
return "build_editable" in self.pep517_backend._supported_features()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_impl.py", line 153, in _supported_features
return self._call_hook('_supported_features', {})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_impl.py", line 321, in _call_hook
raise BackendUnavailable(data.get('traceback', ''))
pip._vendor.pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 77, in build_backend
obj = import_module(mod_path)
^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init
.py", line 126, in import_module
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1126, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'flit_core'

Traceback (most recent call last):
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes\install.py", line 38, in
main()
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes\install.py", line 29, in main
pip_install(["-e", ".[cuda-12]"])
File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes\install.py", line 11, in pip_install
subprocess.check_call(
File "subprocess.py", line 413, in check_call
subprocess.CalledProcessError: Command '['D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\python.exe', '-m', 'pip', 'install', '-e', '.[cuda-12]']' returned non-zero exit status 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions