I can't get it running - 'python' is not recognized as an internal or external command, operable program or batch file.

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
mtamborra
Posts: 1
Joined: Wed Nov 04, 2020 5:50 pm

I can't get it running - 'python' is not recognized as an internal or external command, operable program or batch file.

Post by mtamborra »

When I double click the app icon, a command prompt comes up and then very quickly disappears.
I managed to screen capture it right before it disappears
This is what it says:

Code: Select all

"faceswap"   && python "F:\faceswap/faceswap.py" gui
Setting Faceswap backend to NVIDIA
'python' is not recognized as an internal or external command, operable program or batch file.

I'm not sure if this helps but prior to this, I was getting this message:

Code: Select all

F:\faceswap>"E:\Users\Mike\Miniconda3\scripts\activate.bat"   && conda activate
"faceswap"   && python "F:\faceswap/faceswap.py" gui
Setting Faceswap backend to NVIDIA
11/04/2020 12:48:32 INFO     Log level set to: INFO
11/04/2020 12:48:32 ERROR    A DLL library file failed to load. Make sure that y
ou have Microsoft Visual C++ Redistributable (2015, 2017, 2019) installed for yo
ur machine from: https://support.microsoft.com/en-gb/help/2977003
11/04/2020 12:48:32 INFO     Press "ENTER" to dismiss the message and close Face
Swap

So I installed Microsoft Visual C++ Redistributable (2015, 2017, 2019) and restarted and then when I tried again, it now does this new issue that I posted above

please help

Thanks

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 623 times

Re: I can't get it running

Post by torzdf »

That error is straight up weird. It is clearly launching Python because of the "Setting backend" message.

I suggest following these steps and trying again:

app.php/faqpage#f1r1

My word is final

Locked