param([string]$Python = 'D:\Software\miniconda\envs\isaaclab\python.exe') $ErrorActionPreference = 'Stop' $projectRoot = Split-Path -Parent $PSScriptRoot $destination = Join-Path $projectRoot '.runtime\dependencies' & $Python -m pip install --no-deps --target $destination -r (Join-Path $projectRoot 'requirements-isaac-runtime.txt') if ($LASTEXITCODE -ne 0) { throw '项目运行依赖安装失败。' }