# detectron2 on Windows
(I already had the [CUDA 11.7 SDK](https://developer.nvidia.com/cuda-11-7-0-download-archive?target_os=Windows&target_arch=x86_64&target_version=11&target_type=exe_local) installed, likely unnecessary)
Then from a Visual Studio 2022 Developer Prompt (x64):
```
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117
git clone https://github.com/facebookresearch/detectron2
cd detectron2
set DISTUTILS_USE_SDK=1
python -m pip install -e .
```