An error occurred when starting the gui: ModuleNotFoundError: No module named 'numpy'

Installing and setting up FaceSwap


Forum rules

Read the FAQs and search the forum before posting a new topic.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
icey
Posts: 3
Joined: Tue Feb 14, 2023 3:14 pm

An error occurred when starting the gui: ModuleNotFoundError: No module named 'numpy'

Post by icey »

Code: Select all

(base) PS C:\Users\mat\faceswap> python faceswap.py gui
Traceback (most recent call last):
  File "faceswap.py", line 6, in <module>
    from lib.cli import args as cli_args
  File "C:\Users\mat\faceswap\lib\cli\args.py", line 14, in <module>
    from lib.utils import get_backend
  File "C:\Users\mat\faceswap\lib\utils.py", line 20, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'

please help

Last edited by torzdf on Sun Feb 19, 2023 12:18 pm, edited 1 time in total.
User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 623 times

Re: An error occurred when starting the gui

Post by torzdf »

You haven't activated your faceswap environment.

Code: Select all

conda activate faceswap

My word is final

Locked