20、配置pytorch
<pre><code>
>>> import pip; print(pip.pep425tags.get_supported())
[('cp36', 'cp36m', 'win_amd64'), ('cp36', 'none', 'win_amd64'), ('py3', 'none', 'win_amd64'), ('cp36', 'none', 'any'), ('cp3', 'none', 'any'), ('py36', 'none', 'any'), ('py3', 'none', 'any'), ('py35', 'none', 'any'), ('py34', 'none', 'any'), ('py33', 'none', 'any'), ('py32', 'none', 'any'), ('py31', 'none', 'any'), ('py30', 'none', 'any')]
>>> exit()
(pytorch) E:\sougou>pip install torch-1.0.1-cp36-cp36m-win_amd64.whl
Processing e:\sougou\torch-1.0.1-cp36-cp36m-win_amd64.whl
Installing collected packages: torch
Successfully installed torch-1.0.1
You are using pip version 9.0.1, however version 19.0.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
(pytorch) E:\sougou>pip install torchvision
Collecting torchvision</code></pre>