Skip to content

Commit bb2ac64

Browse files
committed
Add better error message if python not found
1 parent cd42630 commit bb2ac64

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ fn main() -> ExitCode {
2828

2929
if !result.success()
3030
{
31+
println!("Python not found! via `python`. Make sure you:");
32+
println!("- ticked 'Add Python to environment variables' in the python installer.");
33+
println!("- can run 'python' in the console and get no error/the Microsoft Store does NOT appear");
3134
println!("Failed to run python: {:?}", result);
3235
return ExitCode::FAILURE;
3336
}

0 commit comments

Comments
 (0)