Add better error message if python not found

This commit is contained in:
drojf
2024-01-25 22:04:42 +11:00
parent cd42630ace
commit bb2ac64e37

View File

@@ -28,6 +28,9 @@ fn main() -> ExitCode {
if !result.success()
{
println!("Python not found! via `python`. Make sure you:");
println!("- ticked 'Add Python to environment variables' in the python installer.");
println!("- can run 'python' in the console and get no error/the Microsoft Store does NOT appear");
println!("Failed to run python: {:?}", result);
return ExitCode::FAILURE;
}