diff --git a/crates/uv/src/commands/python/install.rs b/crates/uv/src/commands/python/install.rs index 9fb3581f9c8f..6f221a666255 100644 --- a/crates/uv/src/commands/python/install.rs +++ b/crates/uv/src/commands/python/install.rs @@ -239,10 +239,13 @@ pub(crate) async fn install( for (key, err) in errors { writeln!( printer.stderr(), - "{}: Failed to install {}: {err}", + "{}: Failed to install {}", "error".red().bold(), - key.green(), + key.green() )?; + for err in anyhow::Error::new(err).chain() { + writeln!(printer.stderr(), " {}: {}", "Caused by".red().bold(), err)?; + } } return Ok(ExitStatus::Failure); }