你的运行环境(版本号「点击帮助-关于-复制」):
TRAE CN
版本: 3.3.45
VSCode 版本: 1.107.1
提交: 68ebdba5ea22d2f9d0a0848bad5a03d598a0fcb6
日期: 2026-04-07T12:33:21.717Z
Electron: 39.2.7-release.1.29.3 (aha)
Node.js: 22.21.1
V8: 14.2.231.24-electron.0
OS: Windows_NT x64 10.0.26200
构建版本: 2.3.18323
设备ID: 478f875f000ff0342190d428753cd24d35472b28149a490e500dfc7b06b93b69
Device Id: 3159366338899754
问题描述(你遇到了什么问题?):
用solo开发一个python,依赖总是安装不成功,solo感觉自己安装成功了。然后,明确告诉solo验证不对,solo就循环验证跳不出来了。
复现步骤(如何才能重现这个 Bug/问题?):
1./plan 我要为国企做一个基于本地word、 PDF、ofd、wps等文档的 RAG 问答机器人。请规划一个任务。之前使用solo模式,发现依赖库总是安装不成功,请在这次中有效回避这个风险。
2.执行完毕后,安装依赖,安装依赖报错。
3.我手动安装依赖都会报错,你是怎样通过验证的?感觉你的验证机制存在问题
报错信息或截图(如有):
PS E:\trae\rag\rag3> pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting python-docx (from -r requirements.txt (line 5))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/d0/00/1e03a4989fa5795da308cd774f05b704ace555a70f9bf9d3be057b680bcf/python_docx-1.2.0-py3-none-any.whl (252 kB)
Collecting PyPDF2 (from -r requirements.txt (line 6))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/8e/5e/c86a5643653825d3c913719e788e41386bee415c2b87b4f955432f2de6b2/pypdf2-3.0.1-py3-none-any.whl (232 kB)
Collecting pdfplumber (from -r requirements.txt (line 7))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/8b/c8/cdbc975f5b634e249cfa6597e37c50f3078412474f21c015e508bfbfe3c3/pdfplumber-0.11.9-py3-none-any.whl (60 kB)
ERROR: Could not find a version that satisfies the requirement python-ofd (from versions: none)
ERROR: No matching distribution found for python-ofd是否要运行来自此不可信发布
者的软件?
文件 E:\Trae
CN\resources\app\out\vs\wo
rkbench\contrib\terminal\c
ommon\scripts\safe_rm_alia
ses.ps1 由
CN=北京引力弹弓科技有限公
司,
O=北京引力弹弓科技有限公司
, S=北京市, C=CN,
SERIALNUMBER=91110108MADEF
UHC3C,
OID.2.5.4.15=Private
Organization,
OID.1.3.6.1.4.1.311.60.2.1
.1=海淀区,
OID.1.3.6.1.4.1.311.60.2.1
.2=北京市,
OID.1.3.6.1.4.1.311.60.2.1
.3=CN
发布,该文件对于你的系统是
不可信的。请只运行来自可信
发布者的脚本。
[V] 从不运行(V)
[D] 不运行(D)
[R] 运行一次(R)
[A] 始终运行(A)[?] 帮助
(默认值为“D”):try { function Global:trae-sandbox { param([string]$CommandLine); if (-not $CommandLine -and $args.Count -gt 0) { $CommandLine = ($args -join ’ ') }; $shellPath = (Get-Process -Id $PID).Path; $env:TRAE_SANDBOX_COMMAND_LINE = $CommandLine; & “$env:TRAE_SANDBOX_CLI_PATH” exec --storage-path “$env:TRAE_SANDBOX_STORAGE_PATH” --config-name “$env:TRAE_SANDBOX_CONFIG_NAME” --shell-path “$shellPath” --command-line “” }; if ($env:TRAE_SANDBOX_SOURCE_FLAG_PATH) { try { if (-not (Test-Path $env:TRAE_SANDBOX_SOURCE_FLAG_PATH)) { [System.IO.File]::Create($env:TRAE_SANDBOX_SOURCE_FLAG_PATH).Close() } } catch { } } } catch{} ; Write-Output “[Trae CN] want run in sandbox environment, try to fix it now.”
[V] 从不运行(V)
[D] 不运行(D)
[R] 运行一次(R)
[A] 始终运行(A)[?] 帮助
(默认值为“D”):trae-sandbox ‘python main.py’
[V] 从不运行(V)
[D] 不运行(D)
[R] 运行一次(R)
[A] 始终运行(A)[?] 帮助
(默认值为“D”):
[Trae CN] Safe Rm alias is not enabled, try to fix it now.
