Start by creating a virtual environment in your project directory:  
```bash
python -m venv .env
```  
Activate the virtual environment:  
```bash
source .env/bin/activate
```  
You should also install 🤗 Transformers because 🤗 Diffusers relies on its models:  
<frameworkcontent>
<pt>
Note - PyTorch only supports Python 3.8 - 3.11 on Windows.
```bash
pip install diffusers["torch"] transformers
```
</pt>
<jax>
```bash
pip install diffusers["flax"] transformers
```
</jax>
</frameworkcontent>