glucauze / sd-webui-faceswaplab

Extended faceswap extension for StableDiffusion web-ui with multiple faceswaps, inpainting, checkpoints, ....
https://glucauze.github.io/sd-webui-faceswaplab/
GNU Affero General Public License v3.0
715 stars 92 forks source link

Exstension install failed while WebUI lanuch. #40

Open aetherwu opened 11 months ago

aetherwu commented 11 months ago

Describe the bug Exstension install failed while WebUI lanuch.

To Reproduce WebUI restart.

Expected behavior Normal lanuch.

Screenshots

*** Error running install.py for extension webui\extensions\sd-webui-faceswaplab.
*** Installing sd-webui-faceswaplab requirement: ifnude
***
*** stderr: A matching Triton is not available, some optimizations will not be enabled.
*** Error caught was: No module named 'triton'
webui\venv\Lib\site-packages\pytorch_lightning\utilities\distributed.py:258: LightningDeprecationWarning: `pytorch_lightning.utilities.distributed.rank_zero_only` has been deprecated in v1.8.1 and will be removed in v2.0.0. You can import it from `pytorch_lightning.utilities` instead.

*** During handling of the above exception, another exception occurred:
***
*** +--------------------- Traceback (most recent call last) ---------------------+
*** | webui\extensions\sd-webui-faceswaplab\install.py:65 in <module>       |
*** |                                                                             |
*** |   62                 raise e                                                |
*** |   63                                                                        |
*** |   64                                                                        |
*** | > 65 check_install()                                                        |
*** |   66                                                                        |
*** |                                                                             |
*** | webui\extensions\sd-webui-faceswaplab\install.py:58 in check_install  |
*** |                                                                             |
*** |   55                     )                                                  |
*** |   56                                                                        |
*** |   57             except Exception as e:                                     |
*** | > 58                 print(e)                                               |
*** |   59                 print(                                                 |
*** |   60                     f"Warning: Failed to install {package}, faceswapla |
*** |   61                 )                                                      |
*** +-----------------------------------------------------------------------------+
*** UnicodeEncodeError: 'gbk' codec can't encode character '\u073e' in position
*** 3243: illegal multibyte sequence

Desktop (please complete the following information):

glucauze commented 11 months ago

It seems related to ifnude. I have no idea right now.