mirror of
https://github.com/open-webui/docs
synced 2025-06-16 11:28:36 +00:00
39 lines
495 B
Markdown
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
|
|
```
|