- 博客(24)
- 收藏
- 关注
原创 报错 - httpx - ReadTimeout Cancelled by cancel scope 10e8024d0
发生异常: ReadTimeoutCancelled by cancel scope 10e8024d0asyncio.exceptions.CancelledError: Cancelled by cancel scope 10e8024d0During handling of the above exception, another exception occurred:TimeoutError: During handling of the above exception, anoth
2025-03-06 18:56:36
500
原创 Dify - 报错 - Ollama - Max retries exceeded with url ... [Errno 111] Connection refused
An error occurred during credentials validation: HTTPConnectionPool(host='100.168.1.246', port=11434): Max retries exceeded with url: /api/chat (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffff7d0ae630>: Failed to establish
2025-03-06 18:52:31
711
原创 Dify - 报错 - 工作流 的 RAG
也许是 embedding 模型你使用的 ollama,但本地没有起起来。这时可能会出现一些报错,但 workflow 不会报的这么详细。可以前往知识库,进行 Retrieval 测试。如果工作流中的 RAG 出问题。
2025-03-04 19:49:15
783
原创 Docker compose - 使用示例
创建文件结构整体结构app1 - `app.py`app1 - `Dockerfile`app2 - `app.py`app2 - `Dockerfile``app.py``Dockerfile``docker-compose.yml`运行 compose获取 docker compose
2025-03-02 21:00:28
468
原创 报错 - [docker] - ERROR [internal] load metadata
=> ERROR [internal] load metadata for registry.in/python:3.11-slim ERROR: failed to solve: registry.in/python:3.11-slim: failed to resolve source metadata for registry.in/python:3.11-slim: encountered unknown type text/html; children may not be fetche
2025-03-02 20:31:30
1381
原创 Docker - 设置环境变量
如果在 Docker GUI 中设置了环境变量,将覆盖 Dockerfile 中的设置。都是用来获取环境变量的方法。在Python的os模块中,如 Dockerfile。
2025-03-02 20:27:11
544
原创 UV - 管理Python 版本、创建环境、安装第三方库
一、管理Python查看可用的 Python 版本查找已安装的 Python 版本安装指定 Python 版本同时安装多个版本自动下载卸载指定 Python 版本二、创建基本项目、管理依赖创建项目添加依赖添加指定版本移除依赖查看项目的依赖树
2025-03-02 17:31:37
3711
原创 Python UV - 安装、升级、卸载
提示:在删除二进制文件之前,您可能想删除 uv 存储的任何数据。uninstall. 升级到旧版本将不会自动删除二进制文件。将重新运行安装程序 并可能修改您的shell配置文件。注意:在0.5.0之前,uv被安装到了。可以从那里删除这些二进制文件。macOS 和 Linux。
2025-03-02 13:23:41
9964
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅
1