Skip to content
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

No module named 'scripts.instaswap_faceswap' #412

Open
3 tasks done
ssuukk opened this issue Sep 4, 2024 · 1 comment
Open
3 tasks done

No module named 'scripts.instaswap_faceswap' #412

ssuukk opened this issue Sep 4, 2024 · 1 comment

Comments

@ssuukk
Copy link

ssuukk commented Sep 4, 2024

First, confirm

  • I have read the instruction carefully
  • I have searched the existing issues
  • I have updated the extension to the latest version

What happened?

Since two days thes extension is failing with:

Traceback (most recent call last):
  File "/mnt/e/Projekty/_AI/ComfyUI/nodes.py", line 1993, in load_custom_node
    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 "/mnt/e/Projekty/_AI/ComfyUI/custom_nodes/ComfyUI-InstaSwap/__init__.py", line 25, in <module>
    from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "/mnt/e/Projekty/_AI/ComfyUI/custom_nodes/ComfyUI-InstaSwap/nodes.py", line 14, in <module>
    from scripts.instaswap_faceswap import FaceSwapScript, get_models, get_current_faces_model, analyze_faces
ModuleNotFoundError: No module named 'scripts.instaswap_faceswap'

Steps to reproduce the problem

Your workflow

Sysinfo

Linux WSL, 3070Tx

Relevant console log

(most recent call last):
  File "/mnt/e/Projekty/_AI/ComfyUI/nodes.py", line 1993, in load_custom_node
    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 "/mnt/e/Projekty/_AI/ComfyUI/custom_nodes/ComfyUI-InstaSwap/__init__.py", line 25, in <module>
    from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "/mnt/e/Projekty/_AI/ComfyUI/custom_nodes/ComfyUI-InstaSwap/nodes.py", line 14, in <module>
    from scripts.instaswap_faceswap import FaceSwapScript, get_models, get_current_faces_model, analyze_faces
ModuleNotFoundError: No module named 'scripts.instaswap_faceswap'

Additional information

No response

@ssuukk ssuukk added bug Something isn't working new labels Sep 4, 2024
@Gourieff
Copy link
Owner

Gourieff commented Sep 4, 2024

Just delete ComfyUI-InstaSwap (it's a fake and a copy of the whole ReActor's code w/o any credits) and use these original ReActor nodes

@Gourieff Gourieff removed bug Something isn't working new labels Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants