1. <legend id='b9QJ5'><style id='b9QJ5'><dir id='b9QJ5'><q id='b9QJ5'></q></dir></style></legend>

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

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

      在Requirements.txt中包含.whl安装

      时间:2024-08-11

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

            <tbody id='R3epK'></tbody>

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

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

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

                本文介绍了在Requirements.txt中包含.whl安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                如何将其包含在requirements.txt文件中? 对于Linux:

                pip install http://download.pytorch.org/whl/cu75/torch-0.1.12.post2-cp27-none-linux_x86_64.whl 
                pip install torchvision
                

                对于MacOS:

                pip install http://download.pytorch.org/whl/torch-0.1.12.post2-cp27-none-macosx_10_7_x86_64.whl 
                pip install torchvision 
                

                推荐答案

                可以使用environment markers:

                http://download.pytorch.org/whl/cu75/torch-0.1.12.post2-cp27-none-linux_x86_64.whl ; sys_platform == "linux"
                http://download.pytorch.org/whl/cu75/torch-0.1.12.post2-cp27-none-linux_x86_64.whl ; sys_platform == "linux2"
                http://download.pytorch.org/whl/torch-0.1.12.post2-cp27-none-macosx_10_7_x86_64.whl ; sys_platform == "darwin"
                torchvision
                

                (双Linux条目:linux2对于Python 2,linux对于Python 3。)

                这篇关于在Requirements.txt中包含.whl安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:BERT记号赋值器&&模型下载 下一篇:尺寸为M&lt;32的火炬张量分度错误?

                相关文章

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

                  <bdo id='sotFn'></bdo><ul id='sotFn'></ul>
                    <legend id='sotFn'><style id='sotFn'><dir id='sotFn'><q id='sotFn'></q></dir></style></legend>
                    <tfoot id='sotFn'></tfoot>