{"record":{"id":"938b3030e014197a","repo":"deepseek-ai/deepseek-harness","slug":"unable-to-locate-the-bundled-deepseek-harness-sdk","errorCode":null,"errorMessage":"Unable to locate the bundled DeepSeek Harness SDK runtime. Install deepseek-harness-runtime-bin or set HarnessConfig.runtime_bin.","messagePattern":"Unable to locate the bundled DeepSeek Harness SDK runtime\\. Install deepseek-harness-runtime-bin or set HarnessConfig\\.runtime_bin\\.","errorType":"exception","errorClass":"FileNotFoundError","httpStatus":null,"severity":"error","filePath":"python/sdk/src/deepseek_harness/client.py","lineNumber":432,"sourceCode":"\n        parts: list[str] = []\n        if proc is not None:\n            exit_code = proc.poll()\n            if exit_code is not None:\n                parts.append(f\"exit code: {exit_code}\")\n        if self._stderr_lines:\n            parts.append(\"stderr tail:\\n\" + \"\\n\".join(self._stderr_lines))\n        return \"\\n\".join(parts)\n\n    def _default_launch_args(self) -> tuple[str, ...]:\n        if self.config.runtime_bin is not None:\n            return (self.config.runtime_bin,)\n        if self.config.bridge_bin is not None:\n            return (self.config.bridge_bin,)\n        try:\n            from deepseek_harness_runtime import resolve_bundled_launch_args\n        except ImportError as exc:\n            raise FileNotFoundError(\n                \"Unable to locate the bundled DeepSeek Harness SDK runtime. \"\n                \"Install deepseek-harness-runtime-bin or set HarnessConfig.runtime_bin.\"\n            ) from exc\n        return resolve_bundled_launch_args()\n\n    def _inject_bundled_default_config(self, env: dict[str, str]) -> None:\n        \"\"\"Inject the default config for a bundled launch with no non-empty config.\n\n        Both bundled carriers require an explicit config. Explicit runtime,\n        launch-argument, and config channels remain untouched.\n        \"\"\"\n        uses_bundled_runtime = (\n            self.config.launch_args_override is None\n            and self.config.runtime_bin is None\n            and self.config.bridge_bin is None\n        )\n        if not uses_bundled_runtime or env.get(\"DSH_CORDIS_CONFIG\"):\n            return","sourceCodeStart":414,"sourceCodeEnd":450,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/python/sdk/src/deepseek_harness/client.py#L414-L450","documentation":"Error \"Unable to locate the bundled DeepSeek Harness SDK runtime. Install deepseek-harness-runtime-bin or set HarnessConfig.runtime_bin.\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at python/sdk/src/deepseek_harness/client.py:432 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Install deepseek-harness-runtime-bin or set HarnessConfig.runtime_bin to the runtime executable path."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}