Open Tanager-Y opened 1 month ago
搜了一下,说是开了代理。 关闭代理安装,依旧报错。
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000020EE2A09C10>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/huggingface-hub/
Collecting huggingface_hub==0.24.3 (from -r I:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui_CXH_joy_caption\requirements.txt (line 1))
Using cached huggingface_hub-0.24.3-py3-none-any.whl.metadata (13 kB)
Requirement already satisfied: transformers>=4.43.3 in i:\comfyui_windows_portable\python_embeded\lib\site-packages (from -r I:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui_CXH_joy_caption\requirements.txt (line 2)) (4.44.2)
Requirement already satisfied: tqdm in i:\comfyui_windows_portable\python_embeded\lib\site-packages (from -r I:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui_CXH_joy_caption\requirements.txt (line 3)) (4.66.5)
Requirement already satisfied: numpy in i:\comfyui_windows_portable\python_embeded\lib\site-packages (from -r I:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui_CXH_joy_caption\requirements.txt (line 4)) (1.26.4)
Collecting surrealist (from -r I:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui_CXH_joy_caption\requirements.txt (line 5))
Using cached surrealist-0.5.3-py3-none-any.whl.metadata (31 kB)
Collecting boto3==1.34.86 (from -r I:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui_CXH_joy_caption\requirements.txt (line 6))
Using cached boto3-1.34.86-py3-none-any.whl.metadata (6.6 kB)
Collecting llama-cpp-python==0.2.89 (from -r I:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui_CXH_joy_caption\requirements.txt (line 7))
Using cached llama_cpp_python-0.2.89.tar.gz (64.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
ERROR: Exception:
Traceback (most recent call last):
File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\cli\base_command.py", line 105, in _run_wrapper
status = _inner_run()
^^^^^^^^^^^^
File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\cli\base_command.py", line 96, in _inner_run
return self.run(options, args)
^^^^^^^^^^^^^^^^^^^^^^^
File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\cli\req_command.py", line 67, in wrapper
return func(self, options, args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\commands\install.py", line 379, in run
requirement_set = resolver.resolve(
^^^^^^^^^^^^^^^^^
File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\resolver.py", line 95, in resolve
result = self._result = resolver.resolve(
^^^^^^^^^^^^^^^^^
File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 546, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 397, in resolve
self._add_to_criteria(self.state.criteria, r, parent=None)
File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 173, in _add_to_criteria
if not criterion.candidates:
File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\resolvelib\structs.py", line 156, in bool
return bool(self._sequence)
^^^^^^^^^^^^^^^^^^^^
File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 174, in bool
return any(self)
^^^^^^^^^
File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 162, in
install scikit_build_core first.
install scikit_build_core first.
旧问题解决,新问题又来了。 Old problems are solved, new problems arise.
网上找了一些方法,但都不管用。 I found some methods online, but none of them worked.
Since I'm not a programmer, some things are very difficult for me. Thank you very much!
安装报错如下:The installation error is as follows:
Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
2024-09-07 22:19:33,223 - scikit_build_core - WARNING - Could not determine CMake version via --version, got '' 'Traceback (most recent call last):\n File "
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.
the solution is here: https://github.com/StartHua/Comfyui_CXH_joy_caption/issues/34
the solution is here: #34
已经照者一步步执行,但是问题依旧 I have followed the instructions step by step, but the problem still exists.
Thank you very much !
谢谢大神的回复! 虽然安装报错,但是今天无意中发现,居然可以正常使用。 因此就没有继续纠结安装的事情了。 后续如果有问题,再向大神请教~!
另外 大神做视频费心了~!付出了艰辛的劳动~! 大神视频(JK提示词生成工作流:文生提示词、图生提示词)中,太复杂了,能否做个专门针对FLUX的txt2img&img2img的工作流? 谢谢~!万分感谢大神的email。
致敬~!
jakechai @.***> 于2024年9月7日周六 23:01写道:
the solution is here: #34 https://github.com/StartHua/Comfyui_CXH_joy_caption/issues/34
— Reply to this email directly, view it on GitHub https://github.com/StartHua/Comfyui_CXH_joy_caption/issues/43#issuecomment-2335366735, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLC3EMFRWLQW67F6EZEGY43ZVMIMHAVCNFSM6AAAAABNZWCDA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZVGM3DMNZTGU . You are receiving this because you authored the thread.Message ID: @.***>
Well, I am planning to make a flux workflow. In addition, CXH_joy_caption conflicts with VLM nodes, which will cause the latter's image-to-prompt to fail and report errors. It is best to install CXH_joy_caption as a separate comfyUI, which is not perfect yet.
THANK YOU VERY MUCH
jakechai @.***> 于2024年9月9日周一 01:34写道:
Well, I am planning to make a flux workflow. In addition, CXH_joy_caption conflicts with VLM nodes, which will cause the latter's image-to-prompt to fail and report errors. It is best to install CXH_joy_caption as a separate comfyUI, which is not perfect yet.
— Reply to this email directly, view it on GitHub https://github.com/StartHua/Comfyui_CXH_joy_caption/issues/43#issuecomment-2336764584, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLC3EMFQU6R5NHYK6VTRFLTZVSDDTAVCNFSM6AAAAABNZWCDA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWG43DINJYGQ . You are receiving this because you authored the thread.Message ID: @.***>
安装出错,请大神赐教:
ERROR: Exception: Traceback (most recent call last): File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\cli\base_command.py", line 105, in _run_wrapper status = _inner_run() ^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\cli\base_command.py", line 96, in _inner_run return self.run(options, args) ^^^^^^^^^^^^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\cli\req_command.py", line 67, in wrapper return func(self, options, args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\commands\install.py", line 379, in run requirement_set = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 95, in resolve result = self._result = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 546, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 397, in resolve self._add_to_criteria(self.state.criteria, r, parent=None) File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 173, in _add_to_criteria if not criterion.candidates: File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_vendor\resolvelib\structs.py", line 156, in __bool__ return bool(self._sequence) ^^^^^^^^^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 174, in __bool__ return any(self) ^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 162, in <genexpr> return (c for c in iterator if id(c) not in self._incompatible_ids) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 53, in _iter_built candidate = func() ^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 186, in _make_candidate_from_link base: Optional[BaseCandidate] = self._make_base_candidate_from_link( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 232, in _make_base_candidate_from_link self._link_candidate_cache[link] = LinkCandidate( ^^^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 303, in __init__ super().__init__( File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 158, in __init__ self.dist = self._prepare() ^^^^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 235, in _prepare dist = self._prepare_distribution() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 314, in _prepare_distribution return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\operations\prepare.py", line 527, in prepare_linked_requirement return self._prepare_linked_requirement(req, parallel_builds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\operations\prepare.py", line 642, in _prepare_linked_requirement dist = _get_prepared_distribution( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\operations\prepare.py", line 72, in _get_prepared_distribution abstract_dist.prepare_distribution_metadata( File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\distributions\sdist.py", line 56, in prepare_distribution_metadata self._install_build_reqs(finder) File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\distributions\sdist.py", line 126, in _install_build_reqs build_reqs = self._get_build_requires_wheel() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\distributions\sdist.py", line 103, in _get_build_requires_wheel return backend.get_requires_for_build_wheel() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_internal\utils\misc.py", line 706, in get_requires_for_build_wheel return super().get_requires_for_build_wheel(config_settings=cs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_vendor\pyproject_hooks\_impl.py", line 166, in get_requires_for_build_wheel return self._call_hook('get_requires_for_build_wheel', { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\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 "I:\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 "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked ModuleNotFoundError: No module named 'scikit_build_core'
transformers版本信息
Name: transformers Version: 4.44.2 Summary: State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow Home-page: https://github.com/huggingface/transformers Author: The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/transformers/graphs/contributors) Author-email: transformers@huggingface.co License: Apache 2.0 License Location: I:\ComfyUI_windows_portable\python_embeded\Lib\site-packages Requires: filelock, huggingface-hub, numpy, packaging, pyyaml, regex, requests, safetensors, tokenizers, tqdm Required-by: clip-interrogator