-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SOLVED] StabilityMatrix | Error running install.py for extension #129
Comments
I'm getting similar: |
I seem to have fixed it by renaming my insightface folder in Models first. |
You renamed it to what? |
"FileExistsError" is fixed 55a6c53 |
But the OP error (as also mine) is not a |
I will try tomorrow. |
Now the error is a little different: Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: 1.6.0
Commit hash: <none>
Installing requirements for Mov2mov
Installing requirements for imageio-ffmpeg
Checking ReActor requirements... Error: The 'insightface==0.7.3' distribution was not found and is required by the application
Collecting insightface==0.7.3
Downloading insightface-0.7.3.tar.gz (439 kB)
-------------------------------------- 439.5/439.5 kB 1.1 MB/s eta 0:00:00
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:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from insightface==0.7.3) (1.23.5)
Requirement already satisfied: onnx in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from insightface==0.7.3) (1.14.1)
Requirement already satisfied: tqdm in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from insightface==0.7.3) (4.65.0)
Requirement already satisfied: requests in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from insightface==0.7.3) (2.31.0)
Requirement already satisfied: matplotlib in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from insightface==0.7.3) (3.8.0)
Requirement already satisfied: Pillow in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from insightface==0.7.3) (9.5.0)
Requirement already satisfied: scipy in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from insightface==0.7.3) (1.11.3)
Collecting scikit-learn (from insightface==0.7.3)
Obtaining dependency information for scikit-learn from https://files.pythonhosted.org/packages/59/ed/548f6f686845d386a727a51a3daa411d95fc599649a2d54705f6773ac259/scikit_learn-1.3.1-cp310-cp310-win_amd64.whl.metadata
Downloading scikit_learn-1.3.1-cp310-cp310-win_amd64.whl.metadata (11 kB)
Requirement already satisfied: scikit-image in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from insightface==0.7.3) (0.21.0)
Collecting easydict (from insightface==0.7.3)
Downloading easydict-1.10.tar.gz (6.4 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting cython (from insightface==0.7.3)
Obtaining dependency information for cython from https://files.pythonhosted.org/packages/23/d5/b14d37c38d131daf79b9c8d6d7d798889741edbd697f6bcde710e0fb9533/Cython-3.0.3-cp310-cp310-win_amd64.whl.metadata
Downloading Cython-3.0.3-cp310-cp310-win_amd64.whl.metadata (3.2 kB)
Collecting albumentations (from insightface==0.7.3)
Obtaining dependency information for albumentations from https://files.pythonhosted.org/packages/9b/f6/c486cedb4f75147232f32ec4c97026714cfef7c7e247a1f0427bc5489f66/albumentations-1.3.1-py3-none-any.whl.metadata
Downloading albumentations-1.3.1-py3-none-any.whl.metadata (34 kB)
Collecting prettytable (from insightface==0.7.3)
Obtaining dependency information for prettytable from https://files.pythonhosted.org/packages/4d/81/316b6a55a0d1f327d04cc7b0ba9d04058cb62de6c3a4d4b0df280cbe3b0b/prettytable-3.9.0-py3-none-any.whl.metadata
Downloading prettytable-3.9.0-py3-none-any.whl.metadata (26 kB)
Requirement already satisfied: PyYAML in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from albumentations->insightface==0.7.3) (6.0.1)
Collecting qudida>=0.0.4 (from albumentations->insightface==0.7.3)
Downloading qudida-0.0.4-py3-none-any.whl (3.5 kB)
Collecting opencv-python-headless>=4.1.1 (from albumentations->insightface==0.7.3)
Obtaining dependency information for opencv-python-headless>=4.1.1 from https://files.pythonhosted.org/packages/e3/10/31b27a7473043eb5317f698ede00e7e129b2de378903bfe0bb4d785a7baf/opencv_python_headless-4.8.1.78-cp37-abi3-win_amd64.whl.metadata
Downloading opencv_python_headless-4.8.1.78-cp37-abi3-win_amd64.whl.metadata (20 kB)
Requirement already satisfied: networkx>=2.8 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from scikit-image->insightface==0.7.3) (3.1)
Requirement already satisfied: imageio>=2.27 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from scikit-image->insightface==0.7.3) (2.31.5)
Requirement already satisfied: tifffile>=2022.8.12 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from scikit-image->insightface==0.7.3) (2023.9.26)
Requirement already satisfied: PyWavelets>=1.1.1 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from scikit-image->insightface==0.7.3) (1.4.1)
Requirement already satisfied: packaging>=21 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from scikit-image->insightface==0.7.3) (23.2)
Requirement already satisfied: lazy_loader>=0.2 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from scikit-image->insightface==0.7.3) (0.3)
Requirement already satisfied: contourpy>=1.0.1 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (1.1.1)
Requirement already satisfied: cycler>=0.10 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (0.12.0)
Requirement already satisfied: fonttools>=4.22.0 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (4.43.0)
Requirement already satisfied: kiwisolver>=1.0.1 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (1.4.5)
Requirement already satisfied: pyparsing>=2.3.1 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (3.1.1)
Requirement already satisfied: python-dateutil>=2.7 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (2.8.2)
Requirement already satisfied: protobuf>=3.20.2 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from onnx->insightface==0.7.3) (4.24.4)
Requirement already satisfied: typing-extensions>=3.6.2.1 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from onnx->insightface==0.7.3) (4.8.0)
Requirement already satisfied: wcwidth in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from prettytable->insightface==0.7.3) (0.2.8)
Requirement already satisfied: charset-normalizer<4,>=2 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from requests->insightface==0.7.3) (3.3.0)
Requirement already satisfied: idna<4,>=2.5 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from requests->insightface==0.7.3) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from requests->insightface==0.7.3) (2.0.6)
Requirement already satisfied: certifi>=2017.4.17 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from requests->insightface==0.7.3) (2023.7.22)
Collecting joblib>=1.1.1 (from scikit-learn->insightface==0.7.3)
Obtaining dependency information for joblib>=1.1.1 from https://files.pythonhosted.org/packages/10/40/d551139c85db202f1f384ba8bcf96aca2f329440a844f924c8a0040b6d02/joblib-1.3.2-py3-none-any.whl.metadata
Downloading joblib-1.3.2-py3-none-any.whl.metadata (5.4 kB)
Collecting threadpoolctl>=2.0.0 (from scikit-learn->insightface==0.7.3)
Obtaining dependency information for threadpoolctl>=2.0.0 from https://files.pythonhosted.org/packages/81/12/fd4dea011af9d69e1cad05c75f3f7202cdcbeac9b712eea58ca779a72865/threadpoolctl-3.2.0-py3-none-any.whl.metadata
Downloading threadpoolctl-3.2.0-py3-none-any.whl.metadata (10.0 kB)
Requirement already satisfied: colorama in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from tqdm->insightface==0.7.3) (0.4.6)
Requirement already satisfied: six>=1.5 in e:\ai\stabilitymatrix\data\packages\stable-diffusion-webui\venv\lib\site-packages (from python-dateutil>=2.7->matplotlib->insightface==0.7.3) (1.16.0)
Downloading albumentations-1.3.1-py3-none-any.whl (125 kB)
-------------------------------------- 125.7/125.7 kB 566.0 kB/s eta 0:00:00
Downloading Cython-3.0.3-cp310-cp310-win_amd64.whl (2.8 MB)
---------------------------------------- 2.8/2.8 MB 1.6 MB/s eta 0:00:00
Downloading prettytable-3.9.0-py3-none-any.whl (27 kB)
Downloading scikit_learn-1.3.1-cp310-cp310-win_amd64.whl (9.3 MB)
---------------------------------------- 9.3/9.3 MB 1.6 MB/s eta 0:00:00
Downloading joblib-1.3.2-py3-none-any.whl (302 kB)
---------------------------------------- 302.2/302.2 kB 1.7 MB/s eta 0:00:00
Downloading opencv_python_headless-4.8.1.78-cp37-abi3-win_amd64.whl (38.0 MB)
---------------------------------------- 38.0/38.0 MB 1.6 MB/s eta 0:00:00
Downloading threadpoolctl-3.2.0-py3-none-any.whl (15 kB)
Building wheels for collected packages: insightface, easydict
Building wheel for insightface (pyproject.toml): started
Building wheel for insightface (pyproject.toml): finished with status 'error'
Building wheel for easydict (setup.py): started
Building wheel for easydict (setup.py): finished with status 'done'
Created wheel for easydict: filename=easydict-1.10-py3-none-any.whl size=6515 sha256=0b0d836434c58fe7143acd6901b36f0d38297e0b9dc8cf4044fe07bcd630702e
Stored in directory: D:\Temp\pip-ephem-wheel-cache-gpbsx660\wheels\b7\e3\8c\f814820ac7ef5fd96f38759ce0d3dc51166a3169008b31da53
Successfully built easydict
Failed to build insightface
--- PLEASE, RESTART the Server! ---
Launching Web UI with arguments: --medvram --xformers --api --skip-python-version-check --no-half
E:\AI\StabilityMatrix\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\torchaudio\backend\utils.py:74: UserWarning: No audio backend is available.
warnings.warn("No audio backend is available.")
python_server_full_path: E:\AI\StabilityMatrix\Data\Packages\stable-diffusion-webui\extensions\Auto-Photoshop-StableDiffusion-Plugin\server/python_server
2023-10-16 22:52:14,855 - ControlNet - INFO - ControlNet v1.1.411
ControlNet preprocessor location: E:\AI\StabilityMatrix\Data\Packages\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads
2023-10-16 22:52:14,953 - ControlNet - INFO - ControlNet v1.1.411
*** Error loading script: console_log_patch.py
Traceback (most recent call last):
File "E:\AI\StabilityMatrix\Data\Packages\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "E:\AI\StabilityMatrix\Data\Packages\stable-diffusion-webui\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:\AI\StabilityMatrix\Data\Packages\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\console_log_patch.py", line 4, in <module>
import insightface
ModuleNotFoundError: No module named 'insightface'
---
*** Error loading script: reactor_api.py
Traceback (most recent call last):
File "E:\AI\StabilityMatrix\Data\Packages\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "E:\AI\StabilityMatrix\Data\Packages\stable-diffusion-webui\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:\AI\StabilityMatrix\Data\Packages\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_api.py", line 17, in <module>
from scripts.reactor_swapper import EnhancementOptions, swap_face
File "E:\AI\StabilityMatrix\Data\Packages\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 10, in <module>
import insightface
ModuleNotFoundError: No module named 'insightface'
22:52:15 - ReActor - ---
*** Error loading script: reactor_faceswap.py
Traceback (most recent call last):
STATUS File "E:\AI\StabilityMatrix\Data\Packages\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
- Running v0.4.2
File "E:\AI\StabilityMatrix\Data\Packages\stable-diffusion-webui\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:\AI\StabilityMatrix\Data\Packages\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_faceswap.py", line 26, in <module>
from scripts.reactor_swapper import EnhancementOptions, swap_face, check_process_halt, reset_messaged
File "E:\AI\StabilityMatrix\Data\Packages\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 10, in <module>
import insightface
ModuleNotFoundError: No module named 'insightface'
---
*** Error loading script: reactor_swapper.py
Traceback (most recent call last):
File "E:\AI\StabilityMatrix\Data\Packages\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "E:\AI\StabilityMatrix\Data\Packages\stable-diffusion-webui\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:\AI\StabilityMatrix\Data\Packages\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 10, in <module>
import insightface
ModuleNotFoundError: No module named 'insightface'
--- |
Well I get this error... 100%|█████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 7.76it/s] *** Error running postprocess_image: Q:\A1111\extensions\sd-webui-reactor\scripts\reactor_faceswap.py *** Error running postprocess: Q:\A1111\extensions\sd-webui-reactor\scripts\reactor_faceswap.py Total progress: 100%|████████████████████████████████████████| 20/20 [00:02<00:00, 7.80it/s] |
Found my error... The extension had not installed correctly. Instead of a Insightface-folder under "models" I got a insightface-file (Which was actually the old inswapper_128.onnx file. 100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 7.28it/s] Still not swapping faces though |
It works when I put inswapper_128.onnx inside of the buffalo-folder, but the results are identical with Roop and Reactor 🤔 |
Nah... Stopped working again 😫 Don't knwo what's up with Reactor. Think I'll stick with Roop for now... 100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 7.81it/s] Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:03<00:00, 5.23it/s] |
Finally fixed 6a110cc |
it's for my original problem?
|
It might be resolved with two latest updates |
Tried again just now but I still got the same error I got before: Building wheels for collected packages: insightface, easydict
Building wheel for insightface (pyproject.toml): started
Building wheel for insightface (pyproject.toml): finished with status 'error'
Building wheel for easydict (setup.py): started
Building wheel for easydict (setup.py): finished with status 'done'
Created wheel for easydict: filename=easydict-1.10-py3-none-any.whl size=6515 |
This means that you have no C++ Build tools in your OS Or install VS C++ Build Tools as described here https://github.com/Gourieff/sd-webui-reactor#installation |
I get an |
It could be something wrong with my system. |
I see that you have "Python 3.10.11" inside your sd env - and this the right version for this package |
Actually, no. |
Save "insightface-0.7.3-cp310-cp310-win_amd64.whl" to
|
But..., this is what I already did and got the error. |
OK, what I did was this..
After that there is no more errors on startup and the Extension looks OK. 😃 |
Oh man... What a strange internal structure StabilityMatrix has... 🤦♂️ |
Sorry but, I don't understand, how exactly should I do to resolve the problem.? |
Unfortunately it doesn't work.. |
You can try these steps #129 (comment) UPDATE: Workable! #138 |
Just re-install the extension.. |
`Launching Web UI with arguments: --xformers --api --skip-python-version-check *** Error loading script: reactor_api.py
|
@Fire1982Photo
Now the error should go away and ReActor should load OK on A1111. If after that you get a different error when you try to use it (like #138 ), check if there is a Good luck! 😃 |
Hello @Gourieff Gourieff , i have the same problems, i did everything... It's macOS Could you help me please?.... ################################################################ ################################################################ ################################################################ ################################################################ ################################################################ *** Error loading script: reactor_api.py *** Error loading script: reactor_faceswap.py *** Error loading script: reactor_swapper.py 21:01:34 - ReActor - STATUS - Running v0.4.3-b1 To create a public link, set |
Hi, thanks for reply, i'll try :) |
Perfect ! It's working ! |
How do i rebuild VENV to Python 3.10.6 ? Sorry, my Installation also fails: File "C:\Users\blasa\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\reactor_log_patch.py", line 5, in Cannot import C:\Users\blasa\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node module for custom nodes: No module named 'insightface.model_zoo' |
how to install the ReActor extension to a mac |
|
this is not fixed on me |
This is happening and didnt appears the reactor and mov 2 mov: Launching Web UI with arguments: *** Error loading script: console_log_patch.py *** Error loading script: reactor_api.py *** Error loading script: reactor_faceswap.py *** Error loading script: reactor_helpers.py *** Error loading script: reactor_logger.py *** Error loading script: reactor_swapper.py *** Error loading script: reactor_version.py *** Error loading script: reactor_xyz.py |
I use a translator so don't judge me too harshly.
I just want to share with the community how it worked for me on Windows 11. pip uninstall protobuf python.exe -m pip install insightface-0.7.3-cp310-cp310-in_amd64.whl After that, the Reactor started and works correctly. |
First, confirm
What happened?
hello, I tried the reactor extension and I have console errors and the extension does not work.
I uninstalled and reinstalled the components and VisualStudio, but nothing happened?
Steps to reproduce the problem
Install the WebUI a1111
Install the reactor extension.
Sysinfo
A1111 WebUI
Relevant console log
Additional information
Sorry for my bad english, I speak French :)
I try again to delete all and try again
The text was updated successfully, but these errors were encountered: