前提条件
- Open-webui使用python3.11.9
步骤
conda操作也可以参考
安装python torch、transformer、记录
1、conda环境
# 创建环境
conda create --name openwebui python=3.11.9
# 激活环境
conda activate openwebui
# 升级pip版本
pip install --upgrade pip
# pip安装openwebui(可切换镜像源)
pip install open-webui -i https://pypi.tuna.tsinghua.edu.cn/simple/
# 启动open-webui
open-webui serve --host 0.0.0.0 --port 8080