Gourieff / sd-webui-reactor

Fast and Simple Face Swap Extension for StableDiffusion WebUI (A1111 SD WebUI, SD WebUI Forge, SD.Next, Cagliostro)
GNU Affero General Public License v3.0
2.47k stars 264 forks source link

Unable to install in A1111, other extensions install fine, Git Issue 129 #198

Closed visualhippocracy closed 9 months ago

visualhippocracy commented 10 months ago

First, confirm

What happened?

I'm getting this error when installing. Git is properly installed, and is available in environment variables as well. I can also install other extensions with git only this is giving a problem

Error Message: GitCommandError: Cmd('git') failed due to: exit code(129) cmdline: git clone -v --filter=blob:none -- git clone https://github.com/Gourieff/sd-webui-reactor C:\Users\Dhruv\SDXL\webui\tmp\sd-webui-reactor stderr: 'error: unknown optionfilter=blob:none' usage: git clone [] [--] [

] -v, --verbose be more verbose -q, --quiet be more quiet --progress force progress reporting -n, --no-checkout don't create a checkout --bare create a bare repository --mirror create a mirror repository (implies bare) -l, --local to clone from a local repository --no-hardlinks don't use local hardlinks, always copy -s, --shared setup as shared repository --recurse-submodules[=] initialize submodules in the clone -j, --jobs number of submodules cloned in parallel --template directory from which templates will be used --reference reference repository --reference-if-able reference repository --dissociate use --reference only while cloning -o, --origin use instead of 'origin' to track upstream -b, --branch checkout instead of the remote's HEAD -u, --upload-pack path to git-upload-pack on the remote --depth create a shallow clone of that depth --shallow-since
Gourieff commented 10 months ago

You can try to install it via the tab 'Available'

изображение

Woisek commented 10 months ago

It still says:

*** Error loading script: reactor_api.py Traceback (most recent call last): File "I:\Super SD 2.0\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "I:\Super SD 2.0\stable-diffusion-webui\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 "I:\Super SD 2.0\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_api.py", line 17, in from scripts.reactor_swapper import EnhancementOptions, swap_face File "I:\Super SD 2.0\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 10, in import insightface ModuleNotFoundError: No module named 'insightface'


*** Error loading script: reactor_faceswap.py Traceback (most recent call last): File "I:\Super SD 2.0\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "I:\Super SD 2.0\stable-diffusion-webui\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 "I:\Super SD 2.0\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_faceswap.py", line 31, in from scripts.reactor_swapper import EnhancementOptions, swap_face, check_process_halt, reset_messaged File "I:\Super SD 2.0\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 10, in import insightface ModuleNotFoundError: No module named 'insightface'


*** Error loading script: reactor_swapper.py Traceback (most recent call last): File "I:\Super SD 2.0\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "I:\Super SD 2.0\stable-diffusion-webui\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 "I:\Super SD 2.0\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 10, in import insightface ModuleNotFoundError: No module named 'insightface'

Even after a manual pip install of the requirements.txt

Gourieff commented 10 months ago

ModuleNotFoundError: No module named 'insightface'

https://github.com/Gourieff/sd-webui-reactor#insightfacebuild

https://github.com/Gourieff/sd-webui-reactor/issues?q=is%3Aissue+is%3Aclosed+ModuleNotFoundError%3A+No+module+named+%27insightface%27