非docker安装open-webui连接ollama实现deepseek本地使用,集成其他openai模型,常见启动报错题目解决。
环境介绍和留意事项[*]发起使用conda虚拟环境(如何安装miniconda不是这里的重点,请自行学习安装)
[*]python3.11(留意一定要这个版本的python)
mini conda各个操作体系侵华镜像下载地址:
https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/
[*]ollama 环境(非必须,这里留意用来启动deepseek,ollama的离线安装另外的文章整理)
留意事项
[*]目前(2025-2-13)open-webui 保举ython3.11
官方原文:
Python 3.11 is the development environment. Python 3.12 seems to work but has not been thoroughly tested. Python 3.13 is entirely untested—use at your own risk.
翻译:
Python 3.11 是开发环境。Python 3.12 看起来可以工作,但尚未颠末彻底测试。Python 3.13 完全没有颠末测试——使用需自行承担风险。
究竟上本人win10体系使用python3.12版本下载open-webui都没有成功,所以守旧起见用python3.11版本比力稳妥。
[*]open-webui的相干依赖特殊多,下载会很耗时,发起一定要使用虚拟环境和耐心等待。其他各自安装大概启动失败的大多都是这个缘故原由。
预备
[*]使用coda 创建虚拟环境
conda create -n open-webui python=3.11
[*]激活虚拟环境
conda activate open-webui
大概使用venv创建虚拟环境(不保举,除非你自己安装的python3.11版本)
python -m venv open-webui
open-webui/Script/activate
[*]安装 open-webui
pip install open-webui
#或者推荐使用阿里源镜像
pip install open-webui -i https://mirrors.aliyun.com/pypi/simple/
[*]启动open-webui
留意: 如何 ollama和 open-webui不在同一台呆板上或修改了ollama的默认端口,必要设置如下环境变量
# 192.168.1.14 是你的ollama地址,默认端口是11434,如果有修改替换成你自己的。
OLLAMA_BASE_URL = "http://192.168.1.14:11434"
大概修改open-webui的配置文件源代码。
config.py,搜索OLLAMA_BASE_URL 修改即可
config.py的路径在安装的conda虚拟环境的openwebui下面conda虚拟环境路径\Lib\site-packages\open_webui,以我本机为例:
D:\install\miniconda3\envs\pyp311\Lib\site-packages\open_webui
代码截图:
修改"http://localhost:11434"为你自己的ollama地址和端口。
https://i-blog.csdnimg.cn/direct/e75f47708ada4654b66bccb5314a4ff4.png
启动服务
open-webui serve
# 默认8080,可以指定端口
open-webui serve --port 8081
启动之后会根据huggingface.io联网下载一个embedding模型,如果没有科学上网会出现报错,会影响RAG,不影响对话功能,看到末了能出现端口显示即阐明成功。
https://i-blog.csdnimg.cn/direct/5a09510500bf401689d74702fce3f22b.png
当然也可以解决这个题目,可以在modelscope下载
https://www.modelscope.cn/models/sentence-transformers/all-MiniLM-L6-v2
通过修改源码:
[你的miniconda下载的open-webui地址]\Lib\site-packages\open_webui\retrievalutils.py
此文件在github路径:
/open-webui/tree/main/backend/open_webui/retrieval/utils.py
的get_model_path方法
将mode修改为刚刚下载的模型路径:
model="C:你的下载路径\sentence-transformers\all-MiniLM-L6-v2"
open-webui的使用和配置
启动成功后首次登录必要创建管理员账号,使用邮箱登录。
[*]配置新用户注册,默认是关闭的。
在这里插入图片形貌
https://i-blog.csdnimg.cn/direct/9e64332fd2f442c9be52eafab36f5603.png
[*]除了ollama模型外还可以配置其他的openai模型。
点击页面-管理员-设置-外部链接
https://i-blog.csdnimg.cn/direct/7f1941e737b84d8a9765181b7e2af4a3.png
https://i-blog.csdnimg.cn/direct/42141ed09e7f489aac5499010558d7e5.png
在这里可以使用你自己的openai模型,比方我自己使用的是智谱的,填写url和你申请的秘钥,另有模型名称,GLM-4-FLASH目前是免费使用的,如果各人想使用可以在智谱开发平台大概其他开源平台申请。
另有更多设置如:选择默认模型以及更多玩法见末了的参考链接。
末了选择模型开始谈天吧!
https://i-blog.csdnimg.cn/direct/1b1904d94a754d3a91fd4bb7ed25fdac.png
其他记录参考
安装的记录:
Successfully built docx2txt peewee compressed-rtf pypika red-black-tree-mod langdetect win-unicode-console
Installing collected packages: win-unicode-console, webencodings, wcwidth, sentencepiece, red-black-tree-mod, pyxlsb, pywin32, pytz, pypika, pydub, pyclipper, py-partiql-parser, peewee, passlib, mpmath, monotonic, flatbuffers, filetype, fake-useragent, Events, ebcdic, easygui, durationpy, docx2txt, compressed-rtf, bitarray, appdirs, aiocache, zipp, xxhash, xmltodict, XlsxWriter, xlrd, wrapt, websockets, websocket-client, validators, urllib3, uritemplate, ujson, tzdata, typing-extensions, threadpoolctl, tenacity, sympy, soupsieve, sniffio, smmap, six, shellingham, safetensors, restrictedpython, regex, redis, rapidfuzz, PyYAML, pytube, python-multipart, python-magic, python-iso639, python-dotenv, pyreadline3, pyproject_hooks, pypdf, pyparsing, pypandoc, pymysql, pyjwt, pygments, pycparser, pyasn1, pyarrow, psycopg2-binary, psutil, protobuf, propcache, primp, portalocker, pluggy, platformdirs, Pillow, pathspec, packaging, overrides, orjson, opentelemetry-util-http, olefile, oauthlib, numpy, ninja, networkx, nest-asyncio, mypy-extensions, multidict, mmh3, mdurl, MarkupSafe, markdown, lxml, lark, jsonpointer, jsonpath-python, joblib, jmespath, jiter, itsdangerous, iniconfig, importlib-resources, idna, hyperframe, httpx-sse, httptools, hpack, h11, grpcio, greenlet, google-crc32c, ftfy, fsspec, frozenlist, fonttools, filelock, eval-type-backport, et-xmlfile, emoji, einops, dnspython, distro, dill, defusedxml, colorclass, colorama, charset-normalizer, chardet, certifi, cachetools, blinker, bidict, bcrypt, backoff, av, attrs, async-timeout, asgiref, annotated-types, aiohappyeyeballs, aiofiles, yarl, wsproto, Werkzeug, tzlocal, typing-inspect, tqdm, sqlalchemy, Shapely, scipy, rsa, requests, rank-bm25, python-pptx, python-dateutil, pytest, pymongo, pymdown-extensions, pydantic-core, pyasn1-modules, proto-plus, pgvector, opentelemetry-proto, openpyxl, opencv-python-headless, opencv-python, multiprocess, marshmallow, markdown-it-py, Mako, ldap3, langdetect, jsonpatch, Jinja2, importlib-metadata, humanfriendly, httplib2, httpcore, html5lib, h2, grpcio-tools, googleapis-common-protos, google-resumable-media, gitdb, fs, fpdf2, ecdsa, deprecated, ctranslate2, click, chroma-hnswlib, cffi, build, beautifulsoup4, anyio, aiosignal, youtube-transcript-api, watchfiles, uvicorn, torch, tiktoken, starlette, soundfile, simple-websocket, scikit-learn, rich, responses, requests-toolbelt, requests-oauthlib, python-oxmsg, python-jose, pytest-docker, pydantic, posthog, peewee-migrate, pandas, opentelemetry-exporter-otlp-proto-common, opentelemetry-api, opensearch-py, nltk, huggingface-hub, httpx, grpcio-status, google-auth, gitpython, gcp-storage-emulator, flask, duckduckgo-search, docker, dataclasses-json, cryptography, coloredlogs, botocore, black, argon2-cffi-bindings, apscheduler, alembic, aiohttp, unstructured-client, typer, tokenizers, s3transfer, python-engineio, pymilvus, pydantic-settings, opentelemetry-semantic-conventions, opentelemetry-instrumentation, openai, onnxruntime, msoffcrypto-tool, langsmith, langfuse, kubernetes, google-auth-oauthlib, google-auth-httplib2, google-api-core, git-python, flask-cors, fastapi, authlib, argon2-cffi, anthropic, unstructured, transformers, rapidocr-onnxruntime, qdrant-client, python-socketio, opentelemetry-sdk, opentelemetry-instrumentation-asgi, langchain-core, google-cloud-core, google-api-python-client, faster-whisper, datasets, boto3, sentence-transformers, opentelemetry-instrumentation-fastapi, opentelemetry-exporter-otlp-proto-grpc, moto, langchain-text-splitters, google-cloud-storage, google-ai-generativelanguage, colbert-ai, langchain, google-generativeai, chromadb, langchain-community, pcodedmp, oletools, RTFDE, extract-msg, open-webui
Successfully installed Events-0.5 Jinja2-3.1.5 Mako-1.3.9 MarkupSafe-3.0.2 Pillow-11.1.0 PyYAML-6.0.2 RTFDE-0.1.2 Shapely-2.0.7 Werkzeug-3.1.3 XlsxWriter-3.2.2 aiocache-0.12.3 aiofiles-24.1.0 aiohappyeyeballs-2.4.6 aiohttp-3.11.11 aiosignal-1.3.2 alembic-1.14.0 annotated-types-0.7.0 anthropic-0.45.2 anyio-4.8.0 appdirs-1.4.4 apscheduler-3.10.4 argon2-cffi-23.1.0 argon2-cffi-bindings-21.2.0 asgiref-3.8.1 async-timeout-5.0.1 attrs-25.1.0 authlib-1.4.1 av-14.1.0 backoff-2.2.1 bcrypt-4.2.0 beautifulsoup4-4.13.3 bidict-0.23.1 bitarray-3.0.0 black-24.8.0 blinker-1.9.0 boto3-1.35.53 botocore-1.35.99 build-1.2.2.post1 cachetools-5.5.1 certifi-2025.1.31 cffi-1.17.1 chardet-5.2.0 charset-normalizer-3.4.1 chroma-hnswlib-0.7.6 chromadb-0.6.2 click-8.1.8 colbert-ai-0.2.21 colorama-0.4.6 colorclass-2.2.2 coloredlogs-15.0.1 compressed-rtf-1.0.6 cryptography-44.0.1 ctranslate2-4.5.0 dataclasses-json-0.6.7 datasets-3.2.0 defusedxml-0.7.1 deprecated-1.2.18 dill-0.3.8 distro-1.9.0 dnspython-2.7.0 docker-7.1.0 docx2txt-0.8 duckduckgo-search-7.3.2 durationpy-0.9 easygui-0.98.3 ebcdic-1.1.1 ecdsa-0.19.0 einops-0.8.0 emoji-2.14.1 et-xmlfile-2.0.0 eval-type-backport-0.2.2 extract-msg-0.53.1 fake-useragent-1.5.1 fastapi-0.115.7 faster-whisper-1.1.1 filelock-3.17.0 filetype-1.2.0 flask-3.1.0 flask-cors-5.0.0 flatbuffers-25.2.10 fonttools-4.56.0 fpdf2-2.8.2 frozenlist-1.5.0 fs-2.4.16 fsspec-2024.9.0 ftfy-6.2.3 gcp-storage-emulator-2024.8.3 git-python-1.0.3 gitdb-4.0.12 gitpython-3.1.44 google-ai-generativelanguage-0.6.6 google-api-core-2.24.1 google-api-python-client-2.160.0 google-auth-2.38.0 google-auth-httplib2-0.2.0 google-auth-oauthlib-1.2.1 google-cloud-core-2.4.1 google-cloud-storage-2.19.0 google-crc32c-1.6.0 google-generativeai-0.7.2 google-resumable-media-2.7.2 googleapis-common-protos-1.63.2 greenlet-3.1.1 grpcio-1.67.1 grpcio-status-1.63.0rc1 grpcio-tools-1.62.3 h11-0.14.0 h2-4.2.0 hpack-4.1.0 html5lib-1.1 httpcore-1.0.7 httplib2-0.22.0 httptools-0.6.4 httpx-0.28.1 httpx-sse-0.4.0 huggingface-hub-0.28.1 humanfriendly-10.0 hyperframe-6.1.0 idna-3.10 importlib-metadata-8.4.0 importlib-resources-6.5.2 iniconfig-2.0.0 itsdangerous-2.2.0 jiter-0.8.2 jmespath-1.0.1 joblib-1.4.2 jsonpatch-1.33 jsonpath-python-1.0.6 jsonpointer-3.0.0 kubernetes-32.0.0 langchain-0.3.7 langchain-community-0.3.7 langchain-core-0.3.35 langchain-text-splitters-0.3.6 langdetect-1.0.9 langfuse-2.44.0 langsmith-0.1.147 lark-1.1.9 ldap3-2.9.1 lxml-5.3.1 markdown-3.7 markdown-it-py-3.0.0 marshmallow-3.26.1 mdurl-0.1.2 mmh3-5.1.0 monotonic-1.6 moto-5.0.28 mpmath-1.3.0 msoffcrypto-tool-5.4.2 multidict-6.1.0 multiprocess-0.70.16 mypy-extensions-1.0.0 nest-asyncio-1.6.0 networkx-3.4.2 ninja-1.11.1.3 nltk-3.9.1 numpy-1.26.4 oauthlib-3.2.2 olefile-0.47 oletools-0.60.2 onnxruntime-1.20.1 open-webui-0.5.11 openai-1.62.0 opencv-python-4.11.0.86 opencv-python-headless-4.11.0.86 openpyxl-3.1.5 opensearch-py-2.8.0 opentelemetry-api-1.27.0 opentelemetry-exporter-otlp-proto-common-1.27.0 opentelemetry-exporter-otlp-proto-grpc-1.27.0 opentelemetry-instrumentation-0.48b0 opentelemetry-instrumentation-asgi-0.48b0 opentelemetry-instrumentation-fastapi-0.48b0 opentelemetry-proto-1.27.0 opentelemetry-sdk-1.27.0 opentelemetry-semantic-conventions-0.48b0 opentelemetry-util-http-0.48b0 orjson-3.10.15 overrides-7.7.0 packaging-23.2 pandas-2.2.3 passlib-1.7.4 pathspec-0.12.1 pcodedmp-1.2.6 peewee-3.17.8 peewee-migrate-1.12.2 pgvector-0.3.5 platformdirs-4.3.6 pluggy-1.5.0 portalocker-2.10.1 posthog-3.13.0 primp-0.12.1 propcache-0.2.1 proto-plus-1.26.0 protobuf-4.25.6 psutil-6.1.1 psycopg2-binary-2.9.9 py-partiql-parser-0.6.1 pyarrow-19.0.0 pyasn1-0.6.1 pyasn1-modules-0.4.1 pyclipper-1.3.0.post6 pycparser-2.22 pydantic-2.9.2 pydantic-core-2.23.4 pydantic-settings-2.7.1 pydub-0.25.1 pygments-2.19.1 pyjwt-2.10.1 pymdown-extensions-10.14.2 pymilvus-2.5.0 pymongo-4.11.1 pymysql-1.1.1 pypandoc-1.13 pyparsing-3.2.1 pypdf-4.3.1 pypika-0.48.9 pyproject_hooks-1.2.0 pyreadline3-3.5.4 pytest-8.3.4 pytest-docker-3.1.2 python-dateutil-2.9.0.post0 python-dotenv-1.0.1 python-engineio-4.11.2 python-iso639-2025.2.8 python-jose-3.3.0 python-magic-0.4.27 python-multipart-0.0.18 python-oxmsg-0.0.2 python-pptx-1.0.0 python-socketio-5.11.3 pytube-15.0.0 pytz-2025.1 pywin32-308 pyxlsb-1.0.10 qdrant-client-1.12.2 rank-bm25-0.2.2 rapidfuzz-3.12.1 rapidocr-onnxruntime-1.3.24 red-black-tree-mod-1.22 redis-5.2.1 regex-2024.11.6 requests-2.32.3 requests-oauthlib-2.0.0 requests-toolbelt-1.0.0 responses-0.25.6 restrictedpython-8.0 rich-13.9.4 rsa-4.9 s3transfer-0.10.4 safetensors-0.5.2 scikit-learn-1.6.1 scipy-1.15.1 sentence-transformers-3.3.1 sentencepiece-0.2.0 shellingham-1.5.4 simple-websocket-1.1.0 six-1.17.0 smmap-5.0.2 sniffio-1.3.1 soundfile-0.13.1 soupsieve-2.6 sqlalchemy-2.0.32 starlette-0.45.3 sympy-1.13.1 tenacity-9.0.0 threadpoolctl-3.5.0 tiktoken-0.8.0 tokenizers-0.21.0 torch-2.6.0 tqdm-4.67.1 transformers-4.48.3 typer-0.15.1 typing-extensions-4.12.2 typing-inspect-0.9.0 tzdata-2025.1 tzlocal-5.2 ujson-5.10.0 unstructured-0.16.11 unstructured-client-0.28.1 uritemplate-4.1.1 urllib3-2.3.0 uvicorn-0.30.6 validators-0.34.0 watchfiles-1.0.4 wcwidth-0.2.13 webencodings-0.5.1 websocket-client-1.8.0 websockets-14.2 win-unicode-console-0.5 wrapt-1.17.2 wsproto-1.2.0 xlrd-2.0.1 xmltodict-0.14.2 xxhash-3.5.0 yarl-1.18.3 youtube-transcript-api-0.6.3 zipp-3.21.0
启动open-webui
(pyp311) PS C:\Users\39216> open-webui serveLoading WEBUI_SECRET_KEY from file, not provided as an environment variable.Generating a new secret key and saving it to C:\Users\39216\.webui_secret_keyLoading WEBUI_SECRET_KEY from C:\Users\39216\.webui_secret_keyD:\install\miniconda3\envs\pyp311\Lib\site-packages\open_webui
D:\install\miniconda3\envs\pyp311\Lib\site-packagesD:\install\miniconda3\envs\pyp311\LibRunning migrationsINFO Context impl SQLiteImpl.INFO Will assume non-transactional DDL.INFO Running upgrade-> 7e5b5dc7342b, initINFO Running upgrade 7e5b5dc7342b -> ca81bd47c050, Add config tableINFO Running upgrade ca81bd47c050 -> c0fbf31ca0db, Update file tableINFO Running upgrade c0fbf31ca0db -> 6a39f3d8e55c, Add knowledge tableCreating knowledge tableMigrating data from document table to knowledge tableINFO Running upgrade 6a39f3d8e55c -> 242a2047eae0, Update chat tableConverting 'chat' column to JSONRenaming 'chat' column to 'old_chat'Adding new 'chat' column of type JSONDropping 'old_chat' columnINFO Running upgrade 242a2047eae0 -> 1af9b942657b, Migrate tagsINFO Running upgrade 1af9b942657b -> 3ab32c4b8f59, Update tagsPrimary Key: {'name': None, 'constrained_columns': []}Unique Constraints: [{'name': 'uq_id_user_id', 'column_names': ['id', 'user_id']}]Indexes: [{'name': 'tag_id', 'column_names': ['id'], 'unique': 1, 'dialect_options': {}}]Creating new primary key with 'id' and 'user_id'.Dropping unique constraint: uq_id_user_idDropping unique index: tag_idINFO Running upgrade 3ab32c4b8f59 -> c69f45358db4, Add folder tableINFO Running upgrade c69f45358db4 -> c29facfe716b, Update file table pathINFO Running upgrade c29facfe716b -> af906e964978, Add feedback tableINFO Running upgrade af906e964978 -> 4ace53fd72c8, Update folder table and change DateTime to BigInteger for timestamp fieldsINFO Running upgrade 4ace53fd72c8 -> 922e7a387820, Add group tableINFO Running upgrade 922e7a387820 -> 57c599a3cb57, Add channel tableINFO Running upgrade 57c599a3cb57 -> 7826ab40b532, Update file tableINFO Running upgrade 7826ab40b532 -> 3781e22d8b01, Update message & channel tablesINFO 'DEFAULT_LOCALE' loaded from the latest database entryINFO 'DEFAULT_PROMPT_SUGGESTIONS' loaded from the latest database entryWARNI WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS.INFO Embedding model set: sentence-transformers/all-MiniLM-L6-v2D:\install\miniconda3\envs\pyp311\Lib\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not workwarn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)WARNI USER_AGENT environment variable not set, consider setting it to identify your requests.___ __ __ _ _ _ ___ / _ \ _ __ ___ _ __ \ \ / /__| |__ | | | |_ _|| | | | '_ \ / _ \ '_ \ \ \ /\ / / _ \ '_ \| | | || || |_| | |_) |__/ | | | \ VV /__/ |_) | |_| || | \___/| .__/ \___|_| |_| \_/\_/ \___|_.__/ \___/|___| |_|v0.5.11 - building the best open-source AI user interface.https://github.com/open-webui/open-webuiERROR Cannot determine model snapshot path: An error happened while trying to locate the files on the Hub and we cannot find the appropriate snapshot folder for the specified revision on the local disk. Please check your internet connection and try again.Traceback (most recent call last):File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\urllib3\connection.py", line 198, in _new_conn sock = connection.create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\urllib3\util\connection.py", line 85, in create_connection raise errFile "D:\install\miniconda3\envs\pyp311\Lib\site-packages\urllib3\util\connection.py", line 73, in create_connection sock.connect(sa)TimeoutError: 由于连接方在一段时间后没有正确回复或连接的主机没有反应,连接尝试失败。The above exception was the direct cause of the following exception:Traceback (most recent call last):File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( ^^^^^^^^^^^^^^^^^^^File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\urllib3\connectionpool.py", line 488, in _make_request raise new_eFile "D:\install\miniconda3\envs\pyp311\Lib\site-packages\urllib3\connectionpool.py", line 464, in _make_request self._validate_conn(conn)File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\urllib3\connectionpool.py", line 1093, in _validate_conn conn.connect()File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\urllib3\connection.py", line 704, in connect self.sock = sock = self._new_conn() ^^^^^^^^^^^^^^^^File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\urllib3\connection.py", line 207, in _new_conn raise ConnectTimeoutError(urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x000002C5B2E50410>, 'Connection to huggingface.co timed out. (connect timeout=None)')The above exception was the direct cause of the following exception:Traceback (most recent call last):File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\requests\adapters.py", line 667, in send resp = conn.urlopen( ^^^^^^^^^^^^^File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\urllib3\util\retry.py", line 519, in increment raise MaxRetryError(_pool, url, reason) from reason# type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/sentence-transformers/all-MiniLM-L6-v2/revision/main (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000002C5B2E50410>, 'Connection to huggingface.co timed out. (connect timeout=None)'))During handling of the above exception, another exception occurred:Traceback (most recent call last):File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\huggingface_hub\_snapshot_download.py", line 155, in snapshot_download repo_info = api.repo_info(repo_id=repo_id, repo_type=repo_type, revision=revision, token=token) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\huggingface_hub\hf_api.py", line 2704, in repo_info return method( ^^^^^^^File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\huggingface_hub\hf_api.py", line 2488, in model_info r = get_session().get(path, headers=headers, timeout=timeout, params=params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\requests\sessions.py", line 602, in get return self.request("GET", url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\huggingface_hub\utils\_http.py", line 93, in send return super().send(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\requests\adapters.py", line 688, in send raise ConnectTimeout(e, request=request)requests.exceptions.ConnectTimeout: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/sentence-transformers/all-MiniLM-L6-v2/revision/main (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000002C5B2E50410>, 'Connection to huggingface.co timed out. (connect timeout=None)'))"), '(Request ID: 2a590046-5d8a-4998-a8f9-7fcdce42aa6d)')The above exception was the direct cause of the following exception:Traceback (most recent call last):File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\open_webui
\retrieval\utils.py", line 425, in get_model_path model_repo_path = snapshot_download(**snapshot_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^File "D:\install\miniconda3\envs\pyp311\Lib\site-packages\huggingface_hub\_snapshot_download.py", line 235, in snapshot_download raise LocalEntryNotFoundError(huggingface_hub.errors.LocalEntryNotFoundError: An error happened while trying to locate the files on the Hub and we cannot find the appropriate snapshot folder for the specified revision on the local disk. Please check your internet connection and try again.WARNI No sentence-transformers model found with name sentence-transformers/all-MiniLM-L6-v2. Creating a new one with mean pooling. 本文参考链接:
[*]https://github.com/open-webui/open-webui
[*]使用手册:https://docs.openwebui.com/
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页:
[1]