deepfakes / faceswap

Deepfakes Software For All

Home Page:https://www.faceswap.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to launch faceswap

UdayKumarR opened this issue · comments

Note: For general usage questions and help, please use either our FaceSwap Forum
or FaceSwap Discord server. General usage questions are liable to be closed without
response.

Crash reports MUST be included when reporting bugs.

Describe the bug
A clear and concise description of what the bug is.

Go to Anaconda Navigator -> Environments
Click on Faceswap environment and open terminal
Navigate to faceswap using "cd faceswap" command in the terminal

While running "python faceswap.py -h" command

Setting Faceswap backend to DIRECTML
Traceback (most recent call last):
File "C:\Users\Admin\faceswap\faceswap.py", line 12, in
from lib.cli import args as cli_args # pylint:disable=wrong-import-position
File "C:\Users\Admin\faceswap\lib\cli\args.py", line 14, in
from lib.gpu_stats import GPUStats
File "C:\Users\Admin\faceswap\lib\gpu_stats_init_.py", line 20, in
from .directml import DirectML as GPUStats # type:ignore
File "C:\Users\Admin\faceswap\lib\gpu_stats\directml.py", line 14, in
from comtypes import COMError, IUnknown, GUID, STDMETHOD, HRESULT # pylint:disable=import-error
ModuleNotFoundError: No module named 'comtypes'

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Python Version [e.g. 3.5, 3.6]
  • Conda Version [e.g. 4.5.12]
  • Commit ID [e.g. e83819f]

Additional context
image

Add any other context about the problem here.

Crash Report
The crash report generated in the root of your Faceswap folder

commented

Zero context. Zero information. Completely ignores the issue requirements.

Bad install. Cleanup and install properly.

https://forum.faceswap.dev/app.php/faqpage#f1r1