docs/docs/getting-started/quick-start/tab-python/Venv.md
2024-11-05 19:52:44 +00:00

39 lines
495 B
Markdown

# Using Virtual Environments
Create isolated Python environments using `venv`.
## Steps
1. **Create a Virtual Environment:**
```bash
python3 -m venv venv
```
2. **Activate the Virtual Environment:**
- On Linux/macOS:
```bash
source venv/bin/activate
```
- On Windows:
```bash
venv\Scripts\activate
```
3. **Install Open WebUI:**
```bash
pip install open-webui
```
4. **Start the Server:**
```bash
open-webui serve
```