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
32 changes: 32 additions & 0 deletions docs/source/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,22 @@ To build the extensions, if the system environment already has a version of Pyto
BUILD_MONAI=1 pip install --no-build-isolation git+https://github.com/Project-MONAI/MONAI
```

On Windows the inline `BUILD_MONAI=1 pip install ...` form is not supported by
`cmd.exe` or PowerShell. Set the environment variable first, then run either
install command shown above:

```bat
:: cmd.exe
set BUILD_MONAI=1
pip install --no-build-isolation git+https://github.com/Project-MONAI/MONAI
```

```powershell
# PowerShell
$env:BUILD_MONAI="1"
pip install --no-build-isolation git+https://github.com/Project-MONAI/MONAI
```

this command will download and install the current `dev` branch of [MONAI from
GitHub](https://github.com/Project-MONAI/MONAI).

Expand Down Expand Up @@ -147,6 +163,22 @@ BUILD_MONAI=1 pip install -e .
BUILD_MONAI=1 CC=clang CXX=clang++ pip install -e .
```

On Windows set the environment variable before running `pip install -e .`:

```bat
:: cmd.exe
cd MONAI/
set BUILD_MONAI=1
pip install -e .
```

```powershell
# PowerShell
cd MONAI/
$env:BUILD_MONAI="1"
pip install -e .
```

To uninstall the package please run:

```bash
Expand Down