diff --git a/src/steps/generic.rs b/src/steps/generic.rs index e7f06b04..3b110e64 100644 --- a/src/steps/generic.rs +++ b/src/steps/generic.rs @@ -203,12 +203,12 @@ pub fn run_pipx_update(run_type: RunType) -> Result<()> { } pub fn run_pip3_update(run_type: RunType) -> Result<()> { - let python3 = utils::require("python3")?; + let pip3 = utils::require("pip3")?; print_separator("pip3"); run_type - .execute(&python3) - .args(&["-m", "pip", "install", "--upgrade", "--user", "pip"]) + .execute(&pip3) + .args(&["install", "--upgrade", "--user", "pip"]) .check_run() }