Spaces:
Running
Running
Download processor/scripts/setup_windows.ps1 from Stouching-Robotics/DataFlowing: direct link, hf CLI and curl.
- Browser
- Download file 520 Bytes
-
https://huggingface.co/spaces/Stouching-Robotics/DataFlowing/resolve/main/processor/scripts/setup_windows.ps1
- Command line
-
hf download hf://spaces/Stouching-Robotics/DataFlowing/processor/scripts/setup_windows.ps1
-
curl -L -o setup_windows.ps1 https://huggingface.co/spaces/Stouching-Robotics/DataFlowing/resolve/main/processor/scripts/setup_windows.ps1
520 Bytes
| $ErrorActionPreference = 'Stop' | |
| $projectRoot = (Resolve-Path (Join-Path $PSScriptRoot '..')).Path | |
| $venvPath = Join-Path $projectRoot '.venv-windows' | |
| $pythonPath = Join-Path $venvPath 'Scripts\python.exe' | |
| if (-not (Test-Path $pythonPath)) { | |
| Write-Host "Creating Windows virtual environment: $venvPath" | |
| & python -m venv $venvPath | |
| } | |
| & $pythonPath -m pip install --upgrade pip | |
| & $pythonPath -m pip install -r (Join-Path $projectRoot 'requirements-windows.txt') | |
| Write-Host "Windows environment ready: $pythonPath" | |