<legend id='IxYYF'><style id='IxYYF'><dir id='IxYYF'><q id='IxYYF'></q></dir></style></legend>

  1. <tfoot id='IxYYF'></tfoot>

      <small id='IxYYF'></small><noframes id='IxYYF'>

    1. <i id='IxYYF'><tr id='IxYYF'><dt id='IxYYF'><q id='IxYYF'><span id='IxYYF'><b id='IxYYF'><form id='IxYYF'><ins id='IxYYF'></ins><ul id='IxYYF'></ul><sub id='IxYYF'></sub></form><legend id='IxYYF'></legend><bdo id='IxYYF'><pre id='IxYYF'><center id='IxYYF'></center></pre></bdo></b><th id='IxYYF'></th></span></q></dt></tr></i><div id='IxYYF'><tfoot id='IxYYF'></tfoot><dl id='IxYYF'><fieldset id='IxYYF'></fieldset></dl></div>

        <bdo id='IxYYF'></bdo><ul id='IxYYF'></ul>

      Docker:没有这样的选项:--use-wheel

      时间:2023-09-10
    2. <legend id='vyHbz'><style id='vyHbz'><dir id='vyHbz'><q id='vyHbz'></q></dir></style></legend>

            <tbody id='vyHbz'></tbody>
          <tfoot id='vyHbz'></tfoot>
        1. <i id='vyHbz'><tr id='vyHbz'><dt id='vyHbz'><q id='vyHbz'><span id='vyHbz'><b id='vyHbz'><form id='vyHbz'><ins id='vyHbz'></ins><ul id='vyHbz'></ul><sub id='vyHbz'></sub></form><legend id='vyHbz'></legend><bdo id='vyHbz'><pre id='vyHbz'><center id='vyHbz'></center></pre></bdo></b><th id='vyHbz'></th></span></q></dt></tr></i><div id='vyHbz'><tfoot id='vyHbz'></tfoot><dl id='vyHbz'><fieldset id='vyHbz'></fieldset></dl></div>
          • <bdo id='vyHbz'></bdo><ul id='vyHbz'></ul>
          • <small id='vyHbz'></small><noframes id='vyHbz'>

              • 本文介绍了Docker:没有这样的选项:--use-wheel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                我正在尝试使用 Docker 为 AWS Lambda 创建一个依赖包,使用 this 存储库,但每当我尝试运行 build.sh 文件时,我都会收到以下消息:

                I'm trying to use Docker to create a dependency package for AWS Lambda using this repository, but whenever I try to run the build.sh file, I end up with the message:

                没有这样的选项:--use-wheel

                no such option: --use-wheel

                然后,当我尝试使用 pip install wheel(在 Docker 之外)时,我被告知它已经在我的本地机器上,它就是这样.如何在 Docker 容器中安装 Wheel?

                Then when I try to use pip install wheel (outside of Docker), I'm told that it's already on my local machine, which it is. How do I install Wheel in the Docker container?

                如果有帮助,这似乎是 build.sh 中给出问题的代码行:

                If it's helpful, this appears to be the line of code in build.sh that is giving the issue:

                test -f /outputs/requirements.txt && pip install --use-wheel -r /outputs/requirements.txt
                

                非常感谢任何帮助!

                推荐答案

                您的问题不是由于缺少依赖项( wheel 安装在 build.sh 脚本中你引用了:https://github.com/ryansb/sklearn-build-lambda/blob/master/build.sh#L18)

                Your issue isn't due to missing dependencies ( wheel is installed in the build.sh script you referenced: https://github.com/ryansb/sklearn-build-lambda/blob/master/build.sh#L18 )

                use-wheel 已弃用,对于 pip 不再存在.

                use-wheel was deprecated and no longer exists for pip.

                您可以通过从脚本中省略 --use-wheel 条目来实现相同的目的.查看链接存储库上的 Python 3.6 PR:https://github.com/ryansb/sklearn-build-lambda/pull/16/files#diff-0b83f9ddf40d7356e5ca147a077acb4

                You can achieve the same by omitting the --use-wheel entries from the script. Take a look at the Python 3.6 PR on the linked repository: https://github.com/ryansb/sklearn-build-lambda/pull/16/files#diff-0b83f9dedf40d7356e5ca147a077acb4

                这篇关于Docker:没有这样的选项:--use-wheel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:Docker 镜像错误:“/bin/sh: 1: [python,: not found" 下一篇:如何使用在 docker 镜像或新容器中不断变化的 p

                相关文章

                最新文章

                  • <bdo id='JRisi'></bdo><ul id='JRisi'></ul>

                    <i id='JRisi'><tr id='JRisi'><dt id='JRisi'><q id='JRisi'><span id='JRisi'><b id='JRisi'><form id='JRisi'><ins id='JRisi'></ins><ul id='JRisi'></ul><sub id='JRisi'></sub></form><legend id='JRisi'></legend><bdo id='JRisi'><pre id='JRisi'><center id='JRisi'></center></pre></bdo></b><th id='JRisi'></th></span></q></dt></tr></i><div id='JRisi'><tfoot id='JRisi'></tfoot><dl id='JRisi'><fieldset id='JRisi'></fieldset></dl></div>
                  1. <tfoot id='JRisi'></tfoot><legend id='JRisi'><style id='JRisi'><dir id='JRisi'><q id='JRisi'></q></dir></style></legend>
                  2. <small id='JRisi'></small><noframes id='JRisi'>