【发布时间】:2018-09-24 22:13:22
【问题描述】:
我正在尝试使用 Docker 使用 this 存储库为 AWS Lambda 创建依赖包,但每当我尝试运行 build.sh 文件时,我都会收到以下消息:
没有这样的选项:--use-wheel
然后,当我尝试使用 pip install wheel(在 Docker 之外)时,我被告知它已经在我的本地机器上,它就是这样。 如何在 Docker 容器中安装 Wheel?
如果有帮助,这似乎是 build.sh 中给出问题的代码行:
test -f /outputs/requirements.txt && pip install --use-wheel -r /outputs/requirements.txt
非常感谢任何帮助!
【问题讨论】:
标签: python docker pip dockerfile python-wheel