2023-07-16 18:16:54,805 - roop - INFO - roop v0.0.2 Error loading script: swapper.py Traceback (most recent call last): File "D:\sd-webui-aki-v4\modules\scripts.py", line 256, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "D:\sd-webui-aki-v4\modules\script_loading.py", line 11, 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 "D:\sd-webui-aki-v4\extensions\sd-webui-roop\scripts\swapper.py", line 12, in <module> import insightface ModuleNotFoundError: No module named 'insightface'
时间: 2024-04-17 10:26:01 浏览: 218
roop模型inswapper-128.onnx
It seems that there is still an error loading the script "swapper.py" due to the missing module "insightface". The error indicates that the "insightface" module is not installed in your environment.
You can try installing the "insightface" module using the following command:
```
pip install insightface
```
Make sure you have Python and pip installed on your system. After installing the module, try running the script again, and the error should be resolved.
If you already installed the "insightface" module and are still encountering this error, please ensure that you have installed it in the correct Python environment or virtual environment that you are using for your application.
阅读全文