iperov / DeepFaceLab

DeepFaceLab is the leading software for creating deepfakes.
GNU General Public License v3.0
16.31k stars 8 forks source link

The system cannot find the path specified. '""' is not recognized as an internal or external command, operable program or batch file. #679

Open Subash-Chandra opened 4 years ago

Subash-Chandra commented 4 years ago

Every time I run any of the batch files, I get this error, or something similar, all relating to the system not being able to find the specified path. Even the "clear workspace.bat" is unable to find the path specified.

None of the batch files work. I assumed it was because my Path directory was full, so I ran

echo %PATH%.

Here is the log

F:\Workspace\ffmpeg standalone\bin;C:\Program Files\Python37\Scripts\;C:\Program Files\Python37\;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;"C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Java\jre1.8.0_144\bin";C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\OpenVPN\bin;C:\Program Files (x86)\Calibre2\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PuTTY\;C:\Program Files (x86)\Microsoft Emulator Manager\1.0\;C:\Program Files\Git\cmd;C:\Program Files\Amazon\AWSCLI\bin\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NGX;C:\HashiCorp\Vagrant\bin;C:\cygwin64\bin;F:\Workspace\ffmpeg standalone\bin;C:\Program Files\Java\jdk-11.0.1\bin;C:\Users\meeee\AppData\Local\Microsoft\WindowsApps;

I have no way of knowing if it's too full or not, because this is the first time I've ever experienced this error.

I've tried extracting it to other Hard drives, and even to my C drive, but none of these seem to work.

kilerb commented 4 years ago

This happened to me in the past. Not sure if it’s the same problem but in version 2 if you start by copying an old folder of the software to a new folder instead of installing fresh, it won’t function properly. When it installs it index is where it is on the hard drive in a different way than version one I believe.

On Sat, Mar 28, 2020 at 9:38 PM Subash Chandra notifications@github.com wrote:

Reopened #679 https://github.com/iperov/DeepFaceLab/issues/679.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/iperov/DeepFaceLab/issues/679#event-3175574995, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVFSUP2ZDXHDQQ5YN5UXRDRJ3GD5ANCNFSM4LV2RKOQ .

Subash-Chandra commented 4 years ago

This happened to me in the past. Not sure if it’s the same problem but in version 2 if you start by copying an old folder of the software to a new folder instead of installing fresh, it won’t function properly. When it installs it index is where it is on the hard drive in a different way than version one I believe. On Sat, Mar 28, 2020 at 9:38 PM Subash Chandra @.***> wrote: Reopened #679 <#679>. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#679 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVFSUP2ZDXHDQQ5YN5UXRDRJ3GD5ANCNFSM4LV2RKOQ .

I never installed the old version. I installed this in a brand new folder. I even installed it on other HDD's and in the root folder, but nothing seems to work.

AhmedaliElgabry commented 4 years ago

i face the same problem and can`t solve it, Did you find a solution for it ?

MontyMole98 commented 2 years ago

I have a PC running Windows 11 and a PC running Windows 7, the latter using a GPU. The Windows 11 one worked with DeepFaceLab fine, but then I swapped to the Windows 7 one and I got this error. I haven't found a way to fix it. Did someone find a solution? I'll post here it I find a fix.

MontyMole98 commented 2 years ago

I figured it out! If anyone's still wondering, then the easiest fix is to put the folder titled DeepFaceLab on the root directory of your hard drive (for me it was my C: drive). The error has something to do with the characters used in your path. For me, in one of my folder's names, I used an apostrophe in the names of one of my folders, but if, like I said, you put the folder titled DeepFaceLab on the root directory of your hard drive, then the error will no longer persist.

ScarBurst173 commented 2 years ago

SOLVED:

I generally don't sign up for forums, just lurk through to find solutions. I was having this issue myself. I was working with 2 GTX 1080 TI video cards and never had a problem with DFL. This week I upgraded to an RTX 3090 TI and immediately started having this error while trying to extract the RTX3000 series file. I followed every suggestion I could find to no avail. I was trying to extract it to the desktop, root folders, external drives, renaming it, nothing worked. So, I decided instead of trying to immediately extract it where I wanted it to go and naming it what I wanted it named, I would just let it place it in its original download destination folder where I had downloaded DFB before extracting anything. Once I did that it extracted the RTX3000 files directly into the original download folder, no errors, installed as intended, now I can manually copy/cut that folder anywhere I want/need it to be. Hope this helps.

joolstorrentecalo commented 1 year ago

Issue solved, please close it.