chflame163 / ComfyUI_LayerStyle

A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality.
MIT License
1.24k stars 68 forks source link

更新后无法载入,安装requirements出现错误 #112

Open aqidesign opened 4 months ago

aqidesign commented 4 months ago

安装requirements时出现以下错误: Collecting docopt>=0.6.0 (from psd-tools->-r requirements.txt (line 32)) Using cached docopt-0.6.2.tar.gz (25 kB) 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 "", line 2, in File "", line 34, in File "C:\Users\Administrator\AppData\Local\Temp\pip-install-6r75t6nz\docopt_b13b1bd8dc90403b9d906e8d923b7952\setup.py", line 3, in from docopt import version ModuleNotFoundError: No module named 'docopt' [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.

启动comfyui出现以下提示:

dzNodes: LayerStyle -> Find 20 LUTs in D:\lut

dzNodes: LayerStyle -> Find 207 Fonts in C:\Windows\Fonts

Traceback (most recent call last): File "D:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1879, 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 "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_LayerStyle__init.py", line 60, in imported_module = importlib.import_module(".py.{}".format(name), name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "importlib\init__.py", line 126, in import_module File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\loadpsd.py", line 8, in from psd_tools import PSDImage ModuleNotFoundError: No module named 'psd_tools'

Cannot import D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_LayerStyle module for custom nodes: No module named 'psd_tools' Please 'pip install xformers' Please 'pip install apex' Please 'pip install xformers'

oxzzx commented 4 months ago

same

sumeGao commented 4 months ago

same No module named 'psd_tools'

MaraScott commented 4 months ago

this works https://github.com/chflame163/ComfyUI_LayerStyle/issues/113#issuecomment-2141182990

aqidesign commented 4 months ago

https://github.com/GoogleCloudPlatform/gcloud-python-wheels/blob/master/wheelhouse/docopt-0.6.2-py2.py3-none-any.whl 下载上面的文件,然后手动安装,搞定了