aigc-apps / sd-webui-EasyPhoto

📷 EasyPhoto | Your Smart AI Photo Generator.
Apache License 2.0
4.9k stars 388 forks source link

[Windows & 秋叶4.4环境可以使用]这个更新有点快啊,刚下好,就更新版本了,当然我貌似没有安装成功~ #19

Closed onlinedear closed 1 year ago

onlinedear commented 1 year ago

用扩展中网址安装没有成功,我用git的命令行安装成功了。-提示成功。 在秋叶启动器也显示成功了,在扩展列表里也显示了插件名称,github地址,以及版本号。 就是没有在WebUI顶部Tab里显示。 哎呀呀 ~ 着急死了

bubbliiiing commented 1 year ago

hi,请问启动有报错吗?如果有报错,请贴出具体的错误。 我们一直在优化,所以更新会比较快。

wuziheng commented 1 year ago

不好意思,我们会在这周出一个初版功能的稳定版本,如果是出现没有在TAB里的情况,大概率是插件启动失败了,可以找一下后台的log贴出来,我们来进行修改。

onlinedear commented 1 year ago

Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] Version: v1.6.0 Commit hash: 5ef669de080814067961f28357256e8fe27544f4 E:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages\pytorch_lightning\utilities\distributed.py:258: LightningDeprecationWarning:pytorch_lightning.utilities.distributed.rank_zero_onlyhas been deprecated in v1.8.1 and will be removed in v2.0.0. You can import it frompytorch_lightning.utilities` instead. rank_zero_deprecation( Error running install.py for extension E:\qiuye\sd-webui-aki-v4.2\extensions\sd-webui-EasyPhoto. Command: "E:\qiuye\sd-webui-aki-v4.2\python\python.exe" "E:\qiuye\sd-webui-aki-v4.2\extensions\sd-webui-EasyPhoto\install.py" Error code: 1 stdout: Installing requirements for easyphoto-webui Installing requirements for tensorflow Installing requirements for easyphoto-webui *** Installing requirements for insightface


stderr: Traceback (most recent call last): File "E:\qiuye\sd-webui-aki-v4.2\extensions\sd-webui-EasyPhoto\install.py", line 26, in launch.run_pip("install insightface==0.7", "requirements for insightface") File "E:\qiuye\sd-webui-aki-v4.2.launcher\pyinterop.hfkx1kkk0g4q7.zip\swlpatches\progress\launch.py", line 49, in wrapped_run_pip File "E:\qiuye\sd-webui-aki-v4.2\modules\launch_utils.py", line 138, in run_pip return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live) File "E:\qiuye\sd-webui-aki-v4.2\modules\launch_utils.py", line 115, in run raise RuntimeError("\n".join(error_bits)) RuntimeError: Couldn't install requirements for insightface. Command: "E:\qiuye\sd-webui-aki-v4.2\python\python.exe" -m pip install insightface==0.7 --prefer-binary Error code: 1 stdout: Looking in indexes: https://mirrors.cloud.tencent.com/pypi/simple Looking in links: https://mirror.sjtu.edu.cn/pytorch-wheels/torch_stable.html Collecting insightface==0.7 Using cached https://mirrors.cloud.tencent.com/pypi/packages/03/ec/dcb402eed6fed6a2c0e1643bd3be0b8ea2bb9d05b6454813a88b703d693f/insightface-0.7.tar.gz (437 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Requirement already satisfied: numpy in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from insightface==0.7) (1.23.5) Requirement already satisfied: onnx in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from insightface==0.7) (1.14.1) Requirement already satisfied: tqdm in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from insightface==0.7) (4.65.0) Requirement already satisfied: requests in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from insightface==0.7) (2.25.1) Requirement already satisfied: matplotlib in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from insightface==0.7) (3.7.1) Requirement already satisfied: Pillow in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from insightface==0.7) (9.5.0) Requirement already satisfied: scipy in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from insightface==0.7) (1.10.1) Requirement already satisfied: scikit-learn in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from insightface==0.7) (1.2.2) Requirement already satisfied: scikit-image in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from insightface==0.7) (0.21.0) Collecting easydict (from insightface==0.7) Using cached easydict-1.10-py3-none-any.whl Requirement already satisfied: cython in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from insightface==0.7) (3.0.0) Collecting albumentations (from insightface==0.7) Using cached https://mirrors.cloud.tencent.com/pypi/packages/9b/f6/c486cedb4f75147232f32ec4c97026714cfef7c7e247a1f0427bc5489f66/albumentations-1.3.1-py3-none-any.whl (125 kB) Collecting prettytable (from insightface==0.7) Using cached https://mirrors.cloud.tencent.com/pypi/packages/25/1e/4c284713b092ec384fad4399452f43f6446ad9aabc9c0b3c3c0920cc53b6/prettytable-3.8.0-py3-none-any.whl (27 kB) Requirement already satisfied: PyYAML in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from albumentations->insightface==0.7) (6.0) Collecting qudida>=0.0.4 (from albumentations->insightface==0.7) Using cached https://mirrors.cloud.tencent.com/pypi/packages/f0/a1/a5f4bebaa31d109003909809d88aeb0d4b201463a9ea29308d9e4f9e7655/qudida-0.0.4-py3-none-any.whl (3.5 kB) Requirement already satisfied: opencv-python-headless>=4.1.1 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from albumentations->insightface==0.7) (4.8.0.74) Requirement already satisfied: networkx>=2.8 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from scikit-image->insightface==0.7) (3.1) Requirement already satisfied: imageio>=2.27 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from scikit-image->insightface==0.7) (2.28.1) Requirement already satisfied: tifffile>=2022.8.12 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from scikit-image->insightface==0.7) (2023.4.12) Requirement already satisfied: PyWavelets>=1.1.1 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from scikit-image->insightface==0.7) (1.4.1) Requirement already satisfied: packaging>=21 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from scikit-image->insightface==0.7) (23.1) Requirement already satisfied: lazy_loader>=0.2 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from scikit-image->insightface==0.7) (0.2) Requirement already satisfied: contourpy>=1.0.1 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from matplotlib->insightface==0.7) (1.0.7) Requirement already satisfied: cycler>=0.10 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from matplotlib->insightface==0.7) (0.11.0) Requirement already satisfied: fonttools>=4.22.0 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from matplotlib->insightface==0.7) (4.39.3) Requirement already satisfied: kiwisolver>=1.0.1 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from matplotlib->insightface==0.7) (1.4.4) Requirement already satisfied: pyparsing>=2.3.1 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from matplotlib->insightface==0.7) (3.0.9) Requirement already satisfied: python-dateutil>=2.7 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from matplotlib->insightface==0.7) (2.8.2) Requirement already satisfied: protobuf>=3.20.2 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from onnx->insightface==0.7) (3.20.3) Requirement already satisfied: typing-extensions>=3.6.2.1 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from onnx->insightface==0.7) (4.5.0) Requirement already satisfied: wcwidth in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from prettytable->insightface==0.7) (0.2.6) Requirement already satisfied: chardet<5,>=3.0.2 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from requests->insightface==0.7) (4.0.0) Requirement already satisfied: idna<3,>=2.5 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from requests->insightface==0.7) (2.10) Requirement already satisfied: urllib3<1.27,>=1.21.1 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from requests->insightface==0.7) (1.26.15) Requirement already satisfied: certifi>=2017.4.17 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from requests->insightface==0.7) (2023.5.7) Requirement already satisfied: joblib>=1.1.1 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from scikit-learn->insightface==0.7) (1.2.0) Requirement already satisfied: threadpoolctl>=2.0.0 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from scikit-learn->insightface==0.7) (3.1.0) Requirement already satisfied: colorama in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from tqdm->insightface==0.7) (0.4.6) Requirement already satisfied: six>=1.5 in e:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages (from python-dateutil>=2.7->matplotlib->insightface==0.7) (1.16.0) Building wheels for collected packages: insightface Building wheel for insightface (pyproject.toml): started Building wheel for insightface (pyproject.toml): finished with status 'error' Failed to build insightface


*** stderr: error: subprocess-exited-with-error


× Building wheel for insightface (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [215 lines of output] WARNING: pandoc not enabled running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-310 creating build\lib.win-amd64-cpython-310\insightface copying insightface__init__.py -> build\lib.win-amd64-cpython-310\insightface creating build\lib.win-amd64-cpython-310\insightface\app copying insightface\app\common.py -> build\lib.win-amd64-cpython-310\insightface\app copying insightface\app\face_analysis.py -> build\lib.win-amd64-cpython-310\insightface\app copying insightface\app\mask_renderer.py -> build\lib.win-amd64-cpython-310\insightface\app copying insightface\app\rgfs_utils.py -> build\lib.win-amd64-cpython-310\insightface\app copying insightface\app__init__.py -> build\lib.win-amd64-cpython-310\insightface\app creating build\lib.win-amd64-cpython-310\insightface\commands copying insightface\commands\insightface_cli.py -> build\lib.win-amd64-cpython-310\insightface\commands copying insightface\commands\model_download.py -> build\lib.win-amd64-cpython-310\insightface\commands copying insightface\commands\rec_add_mask_param.py -> build\lib.win-amd64-cpython-310\insightface\commands copying insightface\commands__init.py -> build\lib.win-amd64-cpython-310\insightface\commands creating build\lib.win-amd64-cpython-310\insightface\data copying insightface\data\image.py -> build\lib.win-amd64-cpython-310\insightface\data copying insightface\data\pickle_object.py -> build\lib.win-amd64-cpython-310\insightface\data copying insightface\data\rec_builder.py -> build\lib.win-amd64-cpython-310\insightface\data copying insightface\data__init__.py -> build\lib.win-amd64-cpython-310\insightface\data creating build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo\arcface_onnx.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo\attribute.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo\inswapper.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo\landmark.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo\model_store.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo\model_zoo.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo\retinaface.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo\scrfd.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo__init__.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo creating build\lib.win-amd64-cpython-310\insightface\thirdparty copying insightface\thirdparty__init__.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty creating build\lib.win-amd64-cpython-310\insightface\utils copying insightface\utils\constant.py -> build\lib.win-amd64-cpython-310\insightface\utils copying insightface\utils\download.py -> build\lib.win-amd64-cpython-310\insightface\utils copying insightface\utils\face_align.py -> build\lib.win-amd64-cpython-310\insightface\utils copying insightface\utils\filesystem.py -> build\lib.win-amd64-cpython-310\insightface\utils copying insightface\utils\storage.py -> build\lib.win-amd64-cpython-310\insightface\utils copying insightface\utils\transform.py -> build\lib.win-amd64-cpython-310\insightface\utils *** copying insightface\utils\init.py -> build\lib.win-amd64-cpython-310\insightface\utils creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d copying insightface\thirdparty\face3d\init.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh copying insightface\thirdparty\face3d\mesh\io.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh copying insightface\thirdparty\face3d\mesh\light.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh copying insightface\thirdparty\face3d\mesh\render.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh copying insightface\thirdparty\face3d\mesh\transform.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh copying insightface\thirdparty\face3d\mesh\vis.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh *** copying insightface\thirdparty\face3d\mesh\init.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy copying insightface\thirdparty\face3d\mesh_numpy\io.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy copying insightface\thirdparty\face3d\mesh_numpy\light.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy copying insightface\thirdparty\face3d\mesh_numpy\render.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy copying insightface\thirdparty\face3d\mesh_numpy\transform.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy copying insightface\thirdparty\face3d\mesh_numpy\vis.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy *** copying insightface\thirdparty\face3d\mesh_numpy\init.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model copying insightface\thirdparty\face3d\morphable_model\fit.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model copying insightface\thirdparty\face3d\morphable_model\load.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model copying insightface\thirdparty\face3d\morphable_model\morphabel_model.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model *** copying insightface\thirdparty\face3d\morphable_model\init__.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model running egg_info writing insightface.egg-info\PKG-INFO writing dependency_links to insightface.egg-info\dependency_links.txt writing entry points to insightface.egg-info\entry_points.txt writing requirements to insightface.egg-info\requires.txt writing top-level names to insightface.egg-info\top_level.txt reading manifest file 'insightface.egg-info\SOURCES.txt' writing manifest file 'insightface.egg-info\SOURCES.txt' C:\Users\Administrator\AppData\Local\Temp\pip-build-env-1izb9p4j\overlay\Lib\site-packages\setuptools\command\build_py.py:204: _Warning: Package 'insightface.thirdparty.face3d.mesh.cython' is absent from the packages configuration. !!



############################ # Package would be ignored # ############################ Python recognizes 'insightface.thirdparty.face3d.mesh.cython' as an importable package[^1], *** but it is absent from setuptools' packages configuration.


This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'insightface.thirdparty.face3d.mesh.cython' is explicitly added *** to the packages configuration field.


Alternatively, you can also rely on setuptools' discovery methods (for example by using find_namespace_packages(...)/find_namespace: *** instead of find_packages(...)/find:).


*** You can read more about "package discovery" on setuptools documentation page:


*** - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html


If you don't want 'insightface.thirdparty.face3d.mesh.cython' to be distributed and are already explicitly excluding 'insightface.thirdparty.face3d.mesh.cython' via find_namespace_packages(...)/find_namespace or find_packages(...)/find, you can try to use exclude_package_data, or include-package-data=False in *** combination with a more fine grained package-data configuration.


*** You can read more about "package data files" on setuptools documentation page:


*** - https://setuptools.pypa.io/en/latest/userguide/datafiles.html



[^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any .py files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages.



!! check.warn(importable) C:\Users\Administrator\AppData\Local\Temp\pip-build-env-1izb9p4j\overlay\Lib\site-packages\setuptools\command\build_py.py:204: _Warning: Package 'insightface.data.images' is absent from the packages configuration. !!



############################ # Package would be ignored # ############################ Python recognizes 'insightface.data.images' as an importable package[^1], *** but it is absent from setuptools' packages configuration.


This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'insightface.data.images' is explicitly added *** to the packages configuration field.


Alternatively, you can also rely on setuptools' discovery methods (for example by using find_namespace_packages(...)/find_namespace: *** instead of find_packages(...)/find:).


*** You can read more about "package discovery" on setuptools documentation page:


*** - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html


If you don't want 'insightface.data.images' to be distributed and are already explicitly excluding 'insightface.data.images' via find_namespace_packages(...)/find_namespace or find_packages(...)/find, you can try to use exclude_package_data, or include-package-data=False in *** combination with a more fine grained package-data configuration.


*** You can read more about "package data files" on setuptools documentation page:


*** - https://setuptools.pypa.io/en/latest/userguide/datafiles.html



[^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any .py files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages.



!! check.warn(importable) C:\Users\Administrator\AppData\Local\Temp\pip-build-env-1izb9p4j\overlay\Lib\site-packages\setuptools\command\build_py.py:204: _Warning: Package 'insightface.data.objects' is absent from the packages configuration. !!



############################ # Package would be ignored # ############################ Python recognizes 'insightface.data.objects' as an importable package[^1], *** but it is absent from setuptools' packages configuration.


This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'insightface.data.objects' is explicitly added *** to the packages configuration field.


Alternatively, you can also rely on setuptools' discovery methods (for example by using find_namespace_packages(...)/find_namespace: *** instead of find_packages(...)/find:).


*** You can read more about "package discovery" on setuptools documentation page:


*** - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html


If you don't want 'insightface.data.objects' to be distributed and are already explicitly excluding 'insightface.data.objects' via find_namespace_packages(...)/find_namespace or find_packages(...)/find, you can try to use exclude_package_data, or include-package-data=False in *** combination with a more fine grained package-data configuration.


*** You can read more about "package data files" on setuptools documentation page:


*** - https://setuptools.pypa.io/en/latest/userguide/datafiles.html



[^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any .py files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages.



!! check.warn(importable) creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython copying insightface\thirdparty\face3d\mesh\cython\mesh_core.cpp -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython copying insightface\thirdparty\face3d\mesh\cython\mesh_core.h -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython copying insightface\thirdparty\face3d\mesh\cython\mesh_core_cython.cpp -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython creating build\lib.win-amd64-cpython-310\insightface\data\images copying insightface\data\images\Tom_Hanks_54745.png -> build\lib.win-amd64-cpython-310\insightface\data\images copying insightface\data\images\mask_black.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images copying insightface\data\images\mask_blue.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images copying insightface\data\images\mask_green.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images copying insightface\data\images\mask_white.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images copying insightface\data\images\t1.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images creating build\lib.win-amd64-cpython-310\insightface\data\objects copying insightface\data\objects\meanshape_68.pkl -> build\lib.win-amd64-cpython-310\insightface\data\objects copying insightface\thirdparty\face3d\mesh\cython\mesh_core_cython.c -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython copying insightface\thirdparty\face3d\mesh\cython\mesh_core_cython.pyx -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython copying insightface\thirdparty\face3d\mesh\cython\setup.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython running build_ext building 'insightface.thirdparty.face3d.mesh.cython.mesh_core_cython' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]


note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for insightface *** ERROR: Could not build wheels for insightface, which is required to install pyproject.toml-based projects


Launching Web UI with arguments: --theme dark --xformers --api --autolaunch --listen

========================= a1111-sd-webui-lycoris ========================= Starting from stable-diffusion-webui version 1.5.0 a1111-sd-webui-lycoris extension is no longer needed

All its features have been integrated into the native LoRA extension LyCORIS models can now be used as if there are regular LoRA models

This extension has been automatically deactivated Please remove this extension

Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu. [-] ADetailer initialized. version: 23.9.1, num models: 9 *** Error loading script: easyphoto_infer.py Traceback (most recent call last): File "E:\qiuye\sd-webui-aki-v4.2\modules\scripts.py", line 382, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "E:\qiuye\sd-webui-aki-v4.2\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "E:\qiuye\sd-webui-aki-v4.2\extensions\sd-webui-EasyPhoto\scripts\easyphoto_infer.py", line 11, in from modelscope.pipelines import pipeline ModuleNotFoundError: No module named 'modelscope' 提示:Python 运行时抛出了一个异常。请检查疑难解答页面。


*** Error loading script: easyphoto_train.py Traceback (most recent call last): File "E:\qiuye\sd-webui-aki-v4.2\modules\scripts.py", line 382, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "E:\qiuye\sd-webui-aki-v4.2\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "E:\qiuye\sd-webui-aki-v4.2\extensions\sd-webui-EasyPhoto\scripts\easyphoto_train.py", line 19, in from scripts.preprocess import preprocess_images File "E:\qiuye\sd-webui-aki-v4.2\extensions\sd-webui-EasyPhoto\scripts\preprocess.py", line 8, in import insightface ModuleNotFoundError: No module named 'insightface' 提示:Python 运行时抛出了一个异常。请检查疑难解答页面。


*** Error loading script: easyphoto_ui.py Traceback (most recent call last): File "E:\qiuye\sd-webui-aki-v4.2\modules\scripts.py", line 382, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "E:\qiuye\sd-webui-aki-v4.2\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "E:\qiuye\sd-webui-aki-v4.2\extensions\sd-webui-EasyPhoto\scripts\easyphoto_ui.py", line 7, in from scripts.easyphoto_infer import easyphoto_infer_forward File "E:\qiuye\sd-webui-aki-v4.2\extensions\sd-webui-EasyPhoto\scripts\easyphoto_infer.py", line 11, in from modelscope.pipelines import pipeline ModuleNotFoundError: No module named 'modelscope' 提示:Python 运行时抛出了一个异常。请检查疑难解答页面。


*** Error loading script: preprocess.py Traceback (most recent call last): File "E:\qiuye\sd-webui-aki-v4.2\modules\scripts.py", line 382, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "E:\qiuye\sd-webui-aki-v4.2\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "E:\qiuye\sd-webui-aki-v4.2\extensions\sd-webui-EasyPhoto\scripts\preprocess.py", line 8, in import insightface ModuleNotFoundError: No module named 'insightface' 提示:Python 运行时抛出了一个异常。请检查疑难解答页面。


Downloading the detection model to C:\Users\Administrator.ifnude/detector.onnx *** Error loading script: swapper.py Traceback (most recent call last): File "E:\qiuye\sd-webui-aki-v4.2\python\lib\urllib\request.py", line 1348, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "E:\qiuye\sd-webui-aki-v4.2\python\lib\http\client.py", line 1283, in request self._send_request(method, url, body, headers, encode_chunked) File "E:\qiuye\sd-webui-aki-v4.2\python\lib\http\client.py", line 1329, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "E:\qiuye\sd-webui-aki-v4.2\python\lib\http\client.py", line 1278, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "E:\qiuye\sd-webui-aki-v4.2\python\lib\http\client.py", line 1038, in _send_output self.send(msg) File "E:\qiuye\sd-webui-aki-v4.2\python\lib\http\client.py", line 976, in send self.connect() File "E:\qiuye\sd-webui-aki-v4.2\python\lib\http\client.py", line 1455, in connect self.sock = self._context.wrap_socket(self.sock, File "E:\qiuye\sd-webui-aki-v4.2\python\lib\ssl.py", line 513, in wrap_socket return self.sslsocket_class._create( File "E:\qiuye\sd-webui-aki-v4.2\python\lib\ssl.py", line 1071, in _create self.do_handshake() File "E:\qiuye\sd-webui-aki-v4.2\python\lib\ssl.py", line 1342, in do_handshake self._sslobj.do_handshake() ConnectionResetError: [WinError 10054] 远程主机强迫关闭了一个现有的连接。 提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\qiuye\sd-webui-aki-v4.2\modules\scripts.py", line 382, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "E:\qiuye\sd-webui-aki-v4.2\modules\script_loading.py", line 10, in load_module
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "E:\qiuye\sd-webui-aki-v4.2\extensions\sd-webui-EasyPhoto\scripts\swapper.py", line 12, in <module>
    from ifnude import detect
  File "E:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages\ifnude\__init__.py", line 1, in <module>
    from .detector import detect
  File "E:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages\ifnude\detector.py", line 36, in <module>
    download(model_url, model_path)
  File "E:\qiuye\sd-webui-aki-v4.2\python\lib\site-packages\ifnude\detector.py", line 16, in download
    request = urllib.request.urlopen(url)
  File "E:\qiuye\sd-webui-aki-v4.2\python\lib\urllib\request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "E:\qiuye\sd-webui-aki-v4.2\python\lib\urllib\request.py", line 519, in open
    response = self._open(req, data)
  File "E:\qiuye\sd-webui-aki-v4.2\python\lib\urllib\request.py", line 536, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "E:\qiuye\sd-webui-aki-v4.2\python\lib\urllib\request.py", line 496, in _call_chain
    result = func(*args)
  File "E:\qiuye\sd-webui-aki-v4.2\python\lib\urllib\request.py", line 1391, in https_open
    return self.do_open(http.client.HTTPSConnection, req,
  File "E:\qiuye\sd-webui-aki-v4.2\python\lib\urllib\request.py", line 1351, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [WinError 10054] 远程主机强迫关闭了一个现有的连接。>

[AddNet] Updating model hashes... [AddNet] Updating model hashes... 2023-09-06 16:48:22,522 - ControlNet - INFO - ControlNet v1.1.405 ControlNet preprocessor location: E:\qiuye\sd-webui-aki-v4.2\extensions\sd-webui-controlnet\annotator\downloads 2023-09-06 16:48:22,628 - ControlNet - INFO - ControlNet v1.1.405 sd-webui-prompt-all-in-one background API service started successfully. Loading weights [7f96a1a9ca] from E:\qiuye\sd-webui-aki-v4.2\models\Stable-diffusion\anything-v5-PrtRE-万用模型.safetensors E:\qiuye\sd-webui-aki-v4.2\extensions\sd-extension-system-info\scripts\system-info.py:451: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead. refresh_quick_btn = gr.Button('Refresh state', elem_id = 'system_info_tab_refresh_btn', visible = False).style() # quick refresh is used from js interval E:\qiuye\sd-webui-aki-v4.2\extensions\sd-extension-system-info\scripts\system-info.py:452: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead. refresh_full_btn = gr.Button('Refresh data', elem_id = 'system_info_tab_refresh_full_btn', variant='primary').style() E:\qiuye\sd-webui-aki-v4.2\extensions\sd-extension-system-info\scripts\system-info.py:504: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead. bench_run_btn = gr.Button('Run benchmark', elem_id = 'system_info_tab_benchmark_btn', variant='primary').style() E:\qiuye\sd-webui-aki-v4.2\extensions\sd-extension-system-info\scripts\system-info.py:506: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead. bench_submit_btn = gr.Button('Submit results', elem_id = 'system_info_tab_submit_btn', variant='primary').style() E:\qiuye\sd-webui-aki-v4.2\extensions\sd-extension-system-info\scripts\system-info.py:515: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead. refresh_bench_btn = gr.Button('Refresh bench', elem_id = 'system_info_tab_refresh_bench_btn', visible = False).style(full_width = False) # quick refresh is used from js interval E:\qiuye\sd-webui-aki-v4.2\extensions\sd-extension-system-info\scripts\system-info.py:515: GradioDeprecationWarning: Use scale in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not. refresh_bench_btn = gr.Button('Refresh bench', elem_id = 'system_info_tab_refresh_bench_btn', visible = False).style(full_width = False) # quick refresh is used from js interval E:\qiuye\sd-webui-aki-v4.2\extensions\sd-webui-additional-networks\scripts\metadata_editor.py:399: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead. with gr.Row().style(equal_height=False): E:\qiuye\sd-webui-aki-v4.2\extensions\sd-webui-additional-networks\scripts\metadata_editor.py:521: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead. cover_image = gr.Image( Running on local URL: http://0.0.0.0:7860 Creating model from config: E:\qiuye\sd-webui-aki-v4.2\configs\v1-inference.yaml Applying attention optimization: xformers... done. Model loaded in 2.9s (load weights from disk: 0.8s, create model: 0.2s, apply weights to model: 1.7s, calculate empty prompt: 0.2s).

To create a public link, set share=True in launch(). Startup time: 61.4s (prepare environment: 49.2s, other imports: 1.4s, setup codeformer: 0.2s, load scripts: 5.3s, create ui: 0.6s, gradio launch: 4.3s, app_started_callback: 0.3s). `

onlinedear commented 1 year ago

log有点长~

bubbliiiing commented 1 year ago

Building wheels for collected packages: insightface Building wheel for insightface (pyproject.toml): started Building wheel for insightface (pyproject.toml): finished with status 'error' Failed to build insightface

虽然日志很长,但是看下来的主要问题就是没有insight face,能否尝试不用自动安装,而是手动先安装insightface?

kbqncf commented 1 year ago

要安装成功insightface,需要c++ 14.0以上的库,windows下最好先安装好visual studio installer,然后把这些依赖都装好

wuziheng commented 1 year ago

@kbqncf 感谢您的补充,我们已于23/09/09 测试了秋叶4.4包,当前版本应该没有问题,也确实需要补充您提到的vs installer。