Open WebUI

创建python3.11虚拟环境

conda create -n py311 python=3.11 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
python -m venv py311-open-webui

更改默认缓存(tmp)目录,解决tmp目录空间不够导致下载失败

export TMPDIR=/download/cache

下载到指定目录

pip download -d /download/ open-webui -i https://pypi.tuna.tsinghua.edu.cn/simple

https://github.com/open-webui/open-webui

 

切换虚拟环境

conda activate py311
conda deactivate

sqllite3报错解决

pip install pysqlite3-binary

vim xxx/envs/py38/lib/python3.8/site-packages/chromadb/init.py

在最前面加入

__import__('pysqlite3')
import sys
sys.modules['sqlite3'] = sys.modules.pop('pysqlite3')
posted @ 2025-02-06 21:25  shenshu  阅读(205)  评论(0)    收藏  举报