Open curlysasha opened 4 months ago
Problem with filterpy
C:\ComfyUI_windows_portable\python_embeded>python.exe -m pip install facexlib Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com Collecting facexlib Downloading facexlib-0.3.0-py3-none-any.whl.metadata (4.6 kB) Collecting filterpy (from facexlib) Downloading filterpy-1.4.5.zip (177 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.0/178.0 kB 2.2 MB/s eta 0:00:00 Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
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.
You need filterpy to install filterpy 🤷🏽♂️
See here: https://github.com/cubiq/PuLID_ComfyUI/issues/1#issuecomment-2102591918
If that doesn't work Go here: https://www.piwheels.org/project/filterpy/
Download filterpy-1.4.5-py3-none-any.whl:
Then wherever you downloaded that file do:
C:\WhereverYouInstalledCOMFYUI\ComfyUI_windows_portable_nightly_pytorch\python_embeded\python.exe -m pip install .\filterpy-1.4.5-py3-none-any.whl
Then you can install packages that use filterpy like facexlib:
C:\WhereverYouInstalledCOMFYUI\ComfyUI_windows_portable_nightly_pytorch\python_embeded\python.exe -m pip install facexlib
You need filterpy to install filterpy 🤷🏽♂️
See here: cubiq/PuLID_ComfyUI#1 (comment)
If that doesn't work Go here: https://www.piwheels.org/project/filterpy/
Download filterpy-1.4.5-py3-none-any.whl:
Then wherever you downloaded that file do:
C:\WhereverYouInstalledCOMFYUI\ComfyUI_windows_portable_nightly_pytorch\python_embeded\python.exe -m pip install .\filterpy-1.4.5-py3-none-any.whl
Then you can install packages that use filterpy like facexlib:
C:\WhereverYouInstalledCOMFYUI\ComfyUI_windows_portable_nightly_pytorch\python_embeded\python.exe -m pip install facexlib
Traceback (most recent call last):
File "C:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1864, in load_custom_node
module_spec.loader.exec_module(module)
File "
Cannot import C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-PuLID-ZHO module for custom nodes: No module named 'torchvision.transforms.functional_tensor'
`####################################################################### [ComfyUI-Manager] Starting dependency installation/(de)activation for the extension
ComfyUI-Manager: EXECUTE => ['C:\ComfyUI_windows_portable\python_embeded\python.exe', '-m', 'pip', 'install', 'facexlib']
Execute install/(de)activation script for 'C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-PuLID-ZHO'
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com Collecting facexlib Downloading facexlib-0.3.0-py3-none-any.whl.metadata (4.6 kB) Collecting filterpy (from facexlib) Downloading filterpy-1.4.5.zip (177 kB) -------------------------------------- 178.0/178.0 kB 1.8 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' [!] error: subprocess-exited-with-error [!] [!] python setup.py egg_info did not run successfully. [!] exit code: 1 [!] [!] [6 lines of output] [!] Traceback (most recent call last): [!] File "", line 2, in
[!] File "", line 34, in
[!] File "C:\Users\user\AppData\Local\Temp\pip-install-e96p1554\filterpy_46a606a26f114bfe8a0c7a8554227df5\setup.py", line 4, in
[!] import filterpy
[!] ModuleNotFoundError: No module named 'filterpy'
[!] [end of output]
[!]
[!] 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.
install/(de)activation script failed: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-PuLID-ZHO
[ComfyUI-Manager] Startup script completed. #######################################################################`
and then startup error
`Total VRAM 24563 MB, total RAM 65440 MB Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync VAE dtype: torch.bfloat16
Loading: ComfyUI-Manager (V2.27.2)
ComfyUI Revision: 2128 [258dbc06] | Released on '2024-04-14'
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json Traceback (most recent call last): File "C:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1864, 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-PuLID-ZHO__init__.py", line 1, in
from . import PuLID
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-PuLID-ZHO\PuLID.py", line 9, in
from pulid.pipeline import PuLIDPipeline
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-PuLID-ZHO\pulid\pipeline.py", line 13, in
from facexlib.parsing import init_parsing_model
ModuleNotFoundError: No module named 'facexlib'
Cannot import C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-PuLID-ZHO module for custom nodes: No module named 'facexlib'`