Failed to launch Unreal Automation tool (UAT)!

I’m getting an error while packaging a project (or Launching it) and it’s saying {Failed to launch Unreal Automation tool (UAT)!}

and i’m getting this Error Code with a yellow color
the code is down below

LogWindows: Warning: CreateProc failed: The system cannot find the file specified. (0x00000002)
LogWindows: Warning: URL: cmd.exe /c ""E:/Games/Epic Games/UE_4.24/Engine/Build/BatchFiles/RunUAT.bat" -ScriptsForProject="C:/Users/DEVGhostisHere/Documents/Unreal Projects/MyProject/MyProject.uproject" BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project="C:/Users/DEVGhostisHere/Documents/Unreal Projects/MyProject/MyProject.uproject" -cook -st
age -archive -archivedirectory="C:/Users/DEVGhostisHere/Documents/Unreal Projects" -package -ue4exe="E:\Games\Epic Games\UE_4.24\Engine\Binaries\Win64\UE4Editor-Cmd.exe"  -pak -prereqs -nodebuginfo -targetplatform=Win64 -clientconfig=Development -utf8output"

By the way visual studio 2017 is installed on my device