astral-sh/uv · error · anyhow::Error
Failed to create link at `{}`: {err}
Error message
Failed to create link at `{}`: {err} What it means
Error "Failed to create link at `{}`: {err}" thrown in astral-sh/uv.
Source
Thrown at crates/uv/src/commands/python/install.rs:1180
}
if let Some(existing) = existing {
// Ensure we do not report installation of this executable for an existing
// key if we undo it
changelog
.installed_executables
.entry(existing.key().clone())
.or_default()
.remove(&target);
}
if let Err(err) =
create_link_to_executable(&target, PythonExecutable::console(&executable))
{
errors.push((
InstallErrorKind::Bin,
installation.key().clone(),
anyhow::anyhow!(
"Failed to create link at `{}`: {err}",
target.simplified_display()
),
));
continue;
}
debug!(
"Updated executable at `{}` to {}",
target.simplified_display(),
installation.key(),
);
changelog.installed.insert(installation.key().clone());
changelog
.installed_executables
.entry(installation.key().clone())
.or_default()
.insert(target.clone());View on GitHub (pinned to f1a42680ff)
When it happens
Trigger: Thrown at crates/uv/src/commands/python/install.rs:1180 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of astral-sh/uv@f1a42680ff (2026-08-16).
Data as JSON: /api/errors/80181ce3a25b7215.
Report an issue: GitHub.