{"record":{"id":"3e5897ceff7a51e3","repo":"astral-sh/uv","slug":"install-blocking-task-panicked","errorCode":null,"errorMessage":"`install_blocking` task panicked","messagePattern":"`install_blocking` task panicked","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"crates/uv-installer/src/installer.rs","lineNumber":129,"sourceCode":"        initialize_rayon_once();\n        rayon::spawn(move || {\n            let result = install(\n                wheels,\n                &layout,\n                installer_name.as_deref(),\n                link_mode,\n                reporter.as_ref(),\n                relocatable,\n                installer_metadata,\n                preview,\n            );\n\n            // This may fail if the main task was cancelled.\n            let _ = tx.send(result);\n        });\n\n        rx.await\n            .map_err(|_| anyhow::anyhow!(\"`install_blocking` task panicked\"))\n            .and_then(convert::identity)\n    }\n\n    /// Install a set of wheels into a Python virtual environment synchronously.\n    #[instrument(skip_all, fields(num_wheels = %wheels.len()))]\n    pub fn install_blocking(self, wheels: Vec<CachedDist>) -> Result<Vec<CachedDist>> {\n        if self.cache.is_some_and(Cache::is_temporary) {\n            if self.link_mode.is_symlink() {\n                return Err(anyhow::anyhow!(\n                    \"Symlink-based installation is not supported with `--no-cache`. The created environment will be rendered unusable by the removal of the cache.\"\n                ));\n            }\n        }\n\n        install(\n            wheels,\n            &self.venv.interpreter().layout(),\n            self.name.as_deref(),","sourceCodeStart":111,"sourceCodeEnd":147,"githubUrl":"https://github.com/astral-sh/uv/blob/f1a42680ff5272232d65748acf338b19778dde24/crates/uv-installer/src/installer.rs#L111-L147","documentation":"Error \"`install_blocking` task panicked\" thrown in astral-sh/uv.","triggerScenarios":"Thrown at crates/uv-installer/src/installer.rs:129 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"}