<p>考虑到Python3.6的一个特定案例,描述的步骤<a href="https://pyshine.com/How-to-install-PyTorch-in-Windows-CPU-Version/" rel="nofollow noreferrer">here</a>可能有助于在Windows中安装Pythorch:</p>
<ol>
<li>首先,我们需要安装Shapely。对于这个下载Shapely作为Shapely-1.6.3-cp36-cp36m-win_amd64.whl从<a href="http://www.xavierdupre.fr/enseignement/setup/Shapely-1.6.3-cp36-cp36m-win_amd64.whl" rel="nofollow noreferrer">here</a>下载。在</li>
</ol>
<p>然后转到下载whl文件的目录,然后按SHIFT键并右键单击并选择open command prompt here,然后执行以下操作:
pip安装Shapely-1.6.3-cp36-cp36m-win_amd64.whl</p>
<ol start=“2”>
第二,我们需要安装菲奥娜。为此,请转到<a href="https://www.lfd.uci.edu/~gohlke/pythonlibs/#pytorch" rel="nofollow noreferrer">Gohlke</a>并下载Fiona‑1.7.13‑cp36‑cp36m‑win_amd64.whl</li>
</ol>
<p>然后执行以下命令:
pip安装Fiona‑1.7.13‑cp36‑cp36m‑win_amd64.whl</p>
<ol start=“3”>
<li>第三步也是最后一步是下载<a href="http://www.xavierdupre.fr/enseignement/setup/torch-0.4.0-cp36-cp36m-win_amd64.whl" rel="nofollow noreferrer">PyTorch</a>(torch-0.4.0版本)。在</li>
</ol>
<p>管道安装火炬-0.3.0b0+591e73e-py3-none-任何原因在</p>
<p>对于其他Python或Torch版本,请检查轮子<a href="http://www.xavierdupre.fr/enseignement/setup/" rel="nofollow noreferrer">here</a>。在</p>