文档首页/ 智果(AgentArts)智能体平台/ 常见问题/ 运行时/ 执行agentarts launch命令,出现ReadTimeoutError: Read timed out报错
更新时间:2026-09-14 GMT+08:00
分享

执行agentarts launch命令,出现ReadTimeoutError: Read timed out报错

需修改Dockerfile中的pip install命令,添加国内镜像源和超时时间。

  1. 执行以下命令,打开Dockerfile:
    vi Dockerfile
  2. 在文件中找到如下行:
    RUN pip install --no-cache-dir -r requirements.txt
  3. 将该行替换为以下内容(添加镜像源和超时时间):
    RUN pip install --no-cache-dir -i https://repo.huaweicloud.com/repository/pypi/simple --timeout 100 -r requirements.txt
  4. 按Esc键进入命令模式,输入:wq并按Enter键保存退出。

相关文档