Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions WINDOWS_INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,33 @@ The `opengradient` package requires a C compiler
to build its native dependencies. Windows does not
have one by default.

## Step 1 Enable WSL
## Step 1 - Enable WSL

Open PowerShell as Administrator and run:

wsl --install

Restart your PC when prompted.

## Step 2 Install Python and uv inside WSL
## Step 2 - Install Python and uv inside WSL

Open the Ubuntu app and run:

sudo apt update && sudo apt install -y python3 curl
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.local/bin/env

## Step 3 Install SDK
## Step 3 - Install SDK

uv add opengradient

## Step 4 Verify
## Step 4 - Verify

uv run python3 -c "import opengradient; print('Ready!')"

## Common Errors

- Visual C++ 14.0 required Use WSL instead
- wsl: command not found Update Windows 10 to Build 19041+
- WSL stuck Enable Virtualization in BIOS
- uv: command not found Run: source $HOME/.local/bin/env
- Visual C++ 14.0 required -> Use WSL instead
- wsl: command not found -> Update Windows 10 to Build 19041+
- WSL stuck -> Enable Virtualization in BIOS
- uv: command not found -> Run: source $HOME/.local/bin/env
Loading