crash on launch: Faceswap is not a valid Win32 application

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
Kikiam
Posts: 8
Joined: Thu Sep 26, 2019 8:51 pm
Has thanked: 1 time

crash on launch: Faceswap is not a valid Win32 application

Post by Kikiam »

Hi, I need help. I followed the installation guides and I have all requirements installed but everytime I open faceswap it crashes on launch with this message "OSError: [WinError 193] %1 is not a valid Win32 application". Is there anything else I'm missing?

by torzdf » Sun Nov 10, 2019 7:21 pm

This is a Conda issue, not Faceswap. One of it's internal libraries is breaking.

I recommend following these steps to clean everything up and try again:
app.php/faqpage#f1r1

Go to full post
Last edited by bryanlyon on Fri Oct 25, 2019 12:05 am, edited 1 time in total.
Reason: Make Title representative of problem.
User avatar
torzdf
Posts: 2651
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 129 times
Been thanked: 622 times

Re: crash on launch

Post by torzdf »

How are you trying to run faceswap?

My word is final

User avatar
Kikiam
Posts: 8
Joined: Thu Sep 26, 2019 8:51 pm
Has thanked: 1 time

Re: crash on launch: Faceswap is not a valid Win32 application

Post by Kikiam »

I just open the exe. I even tried running it as admin.

User avatar
torzdf
Posts: 2651
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 129 times
Been thanked: 622 times

Re: crash on launch: Faceswap is not a valid Win32 application

Post by torzdf »

Are you sure you're not trying to run a python file as an executable?

If you haven't already, you should install Faceswap by the guide here:
viewtopic.php?f=4&t=20

Then click the desktop icon to run Faceswap

My word is final

User avatar
Kikiam
Posts: 8
Joined: Thu Sep 26, 2019 8:51 pm
Has thanked: 1 time

Re: crash on launch: Faceswap is not a valid Win32 application

Post by Kikiam »

Yes I followed that guide step by step. Btw this is what shows up, I got to screenshot it a split second before it closed.

User avatar
torzdf
Posts: 2651
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 129 times
Been thanked: 622 times

Re: crash on launch: Faceswap is not a valid Win32 application

Post by torzdf »

This is a Conda issue, not Faceswap. One of it's internal libraries is breaking.

I recommend following these steps to clean everything up and try again:
app.php/faqpage#f1r1

My word is final

User avatar
Kikiam
Posts: 8
Joined: Thu Sep 26, 2019 8:51 pm
Has thanked: 1 time

Re: crash on launch: Faceswap is not a valid Win32 application

Post by Kikiam »

Omg thank you very much! It's working now.

Locked