Page 1 of 1

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

Posted: Wed Nov 04, 2020 8:03 pm
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


Re: I can't get it running

Posted: Thu Nov 05, 2020 7:30 pm
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