【持续更新】企业版部署 踩坑记录

分享 0 63
koicc
koicc LV1 10月3日 18:29 发表
<h3>(一)生成引擎容器报错</h3><p><img src="http://talk-cdn.liumatest.cn/486ca480-6885-4a5d-916d-b740942e1fdb.png" style="max-width:100%;"><br></p><p><span style="background-color: rgb(255, 255, 255);">报错:<span style="font-family: -apple-system, blinkmacsystemfont, &quot;Helvetica Neue&quot;, helvetica, &quot;segoe ui&quot;, arial, roboto, &quot;PingFang SC&quot;, miui, &quot;Hiragino Sans GB&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px; white-space-collapse: preserve;">ERROR: failed to solve: process "/bin/sh -c pip install -r requirements.txt -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com" did not complete successfully: exit code: 1</span></span></p><p><span style="font-family: -apple-system, blinkmacsystemfont, &quot;Helvetica Neue&quot;, helvetica, &quot;segoe ui&quot;, arial, roboto, &quot;PingFang SC&quot;, miui, &quot;Hiragino Sans GB&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px; white-space-collapse: preserve; background-color: rgb(255, 255, 255);">原因:engine目录下,DockerFile文件中配置的豆瓣pip国内镜像不可用(可能跟省份城市有关)</span></p><p><span style="font-family: -apple-system, blinkmacsystemfont, &quot;Helvetica Neue&quot;, helvetica, &quot;segoe ui&quot;, arial, roboto, &quot;PingFang SC&quot;, miui, &quot;Hiragino Sans GB&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px; white-space-collapse: preserve; background-color: rgb(255, 255, 255);">解决:pip镜像源修改为:</span><span style="background-color: rgb(255, 255, 255);"><span md-inline="plain" style="font-family: &quot;PingFang SC&quot;, &quot;Helvetica Neue&quot;, Helvetica, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 16px; letter-spacing: 0.5px; orphans: 4; white-space-collapse: preserve;">RUN pip install -r requirements.txt -i </span><span md-inline="url" spellcheck="false" style="word-break: break-all; font-family: &quot;PingFang SC&quot;, &quot;Helvetica Neue&quot;, Helvetica, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 16px; letter-spacing: 0.5px; orphans: 4; white-space-collapse: preserve;"><a href="http://mirrors.aliyun.com/pypi/simple/" style="cursor: pointer; -webkit-user-drag: none;">http://mirrors.aliyun.com/pypi/simple/</a></span><span md-inline="plain" style="font-family: &quot;PingFang SC&quot;, &quot;Helvetica Neue&quot;, Helvetica, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 16px; letter-spacing: 0.5px; orphans: 4; white-space-collapse: preserve;"> --trusted-host mirrors.aliyun.com</span></span></p><p><br></p>
收藏(0)  分享
相关标签: 教程 笔记
注意:本文归作者所有,未经作者允许,不得转载
0个回复
  • 消灭零回复