Page 1 of 1

Error module

Posted: Tue Oct 26, 2021 2:31 pm
by thenrique

Code: Select all

python faceswap.py -h
Traceback (most recent call last):
  File "/home/thenrique/faceswap/faceswap.py", line 6, in <module>
    from lib.cli import args as cli_args
  File "/home/thenrique/faceswap/lib/cli/args.py", line 12, in <module>
    from lib.utils import get_backend
  File "/home/thenrique/faceswap/lib/utils.py", line 17, in <module>
    from tqdm import tqdm
ModuleNotFoundError: No module named 'tqdm'

OS: Arch Linux


Re: Error module

Posted: Tue Oct 26, 2021 2:34 pm
by bryanlyon

The app.php/faqpage#f1r1 still applies, though it's written more for windows. Another option is to open the faceswap conda env and run update_deps.py to update all requirements.


Re: Error module

Posted: Tue Oct 26, 2021 3:45 pm
by thenrique
bryanlyon wrote: Tue Oct 26, 2021 2:34 pm

The app.php/faqpage#f1r1 still applies, though it's written more for windows. Another option is to open the faceswap conda env and run update_deps.py to update all requirements.

I entered the directory below and tried to run an update

Code: Select all

/home/thenrique/faceswap

Code: Select all

python update_deps.py
INFO    Updating dependencies...
Traceback (most recent call last):
  File "/home/thenrique/faceswap/update_deps.py", line 32, in <module>
    main()
  File "/home/thenrique/faceswap/update_deps.py", line 26, in main
    update = Environment(logger=logger, updater=True)
  File "/home/thenrique/faceswap/setup.py", line 50, in __init__
    self.process_arguments()
  File "/home/thenrique/faceswap/setup.py", line 106, in process_arguments
    from lib.utils import get_backend  # pylint:disable=import-outside-toplevel
  File "/home/thenrique/faceswap/lib/utils.py", line 17, in <module>
    from tqdm import tqdm
ModuleNotFoundError: No module named 'tqdm'

Re: Error module

Posted: Wed Oct 27, 2021 4:48 pm
by thenrique
bryanlyon wrote: Tue Oct 26, 2021 2:34 pm

The app.php/faqpage#f1r1 still applies, though it's written more for windows. Another option is to open the faceswap conda env and run update_deps.py to update all requirements.

I uninstalled and installed again, interface mode giving this error below, via terminal is going, I have not done the whole process yet to know if there will be future errors

Code: Select all

faceswap.py gui
Setting Faceswap backend to NVIDIA
10/27/2021 13:44:40 INFO     Log level set to: INFO
(Illegal instruction (core image saved)

Re: Error module

Posted: Mon Nov 08, 2021 11:37 am
by torzdf

The obvious question here is "are you in the faceswap virtual environment"? If not, that will be why tqdm won't load.