{"record":{"id":"667c0420b5cc8bb8","repo":"astral-sh/uv","slug":"executable-already-exists-at-but-is-not-manag","errorCode":null,"errorMessage":"Executable already exists at `{}` but is not managed by uv; use `--force` to replace it","messagePattern":"Executable already exists at `(.+?)` but is not managed by uv; use `--force` to replace it","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"crates/uv/src/commands/python/install.rs","lineNumber":1215,"sourceCode":"                    .or_default()\n                    .insert(target.clone());\n            }\n            Err(err) => {\n                errors.push((\n                    InstallErrorKind::Bin,\n                    installation.key().clone(),\n                    Error::new(err),\n                ));\n            }\n        }\n    }\n\n    match existing_unmanaged.as_slice() {\n        [] => {}\n        [executable] => errors.push((\n            InstallErrorKind::Bin,\n            installation.key().clone(),\n            anyhow::anyhow!(\n                \"Executable already exists at `{}` but is not managed by uv; use `--force` to replace it\",\n                executable.simplified_display()\n            ),\n        )),\n        executables => errors.push((\n            InstallErrorKind::Bin,\n            installation.key().clone(),\n            anyhow::anyhow!(\n                \"Executables {} already exist in `{}` but are not managed by uv; use `--force` to replace them\",\n                conjunction(\n                    executables\n                        .iter()\n                        .filter_map(|path| path.file_name())\n                        .map(|name| format!(\"`{}`\", name.to_string_lossy()))\n                        .collect(),\n                ),\n                bin.simplified_display()\n            ),","sourceCodeStart":1197,"sourceCodeEnd":1233,"githubUrl":"https://github.com/astral-sh/uv/blob/f1a42680ff5272232d65748acf338b19778dde24/crates/uv/src/commands/python/install.rs#L1197-L1233","documentation":"Error \"Executable already exists at `{}` but is not managed by uv; use `--force` to replace it\" thrown in astral-sh/uv.","triggerScenarios":"Thrown at crates/uv/src/commands/python/install.rs:1215 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f1a42680ff5272232d65748acf338b19778dde24","analyzedAt":"2026-08-16T04:51:47.599Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}