win10 anaconda pryotch cpu
win10 anaconda pryotch cpu
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>pip install torch==1.7.1+cpu torchvision==0.8.2+cpu torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
Looking in links: https://download.pytorch.org/whl/torch_stable.html
Collecting torch==1.7.1+cpu
Downloading https://download.pytorch.org/whl/cpu/torch-1.7.1%2Bcpu-cp38-cp38-win_amd64.whl (184.2 MB)
|████████████████████████████████| 184.2 MB 22 kB/s
Collecting torchaudio===0.7.2
Downloading https://download.pytorch.org/whl/torchaudio-0.7.2-cp38-none-win_amd64.whl (103 kB)
|████████████████████████████████| 103 kB 6.4 MB/s
Collecting torchvision==0.8.2+cpu
Downloading https://download.pytorch.org/whl/cpu/torchvision-0.8.2%2Bcpu-cp38-cp38-win_amd64.whl (805 kB)
|████████████████████████████████| 805 kB 89 kB/s
Collecting pillow>=4.1.1
Downloading Pillow-8.1.0-cp38-cp38-win_amd64.whl (2.2 MB)
|████████████████████████████████| 2.2 MB 96 kB/s
Collecting numpy
Downloading numpy-1.19.5-cp38-cp38-win_amd64.whl (13.3 MB)
|████████████████████████████████| 13.3 MB 125 kB/s
Collecting typing-extensions
Downloading typing_extensions-3.7.4.3-py3-none-any.whl (22 kB)
Installing collected packages: typing-extensions, numpy, torch, pillow, torchvision, torchaudio
Successfully installed numpy-1.19.5 pillow-8.1.0 torch-1.7.1+cpu torchaudio-0.7.2 torchvision-0.8.2+cpu typing-extensions-3.7.4.3
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>pip install ipython
Collecting ipython
Downloading ipython-7.19.0-py3-none-any.whl (784 kB)
|████████████████████████████████| 784 kB 88 kB/s
Requirement already satisfied: setuptools>=18.5 in e:\anaconda3\install1\envs\wind_2021\lib\site-packages (from ipython) (49.6.0.post20201009)
Collecting jedi>=0.10
Downloading jedi-0.18.0-py2.py3-none-any.whl (1.4 MB)
|████████████████████████████████| 1.4 MB 71 kB/s
Collecting parso<0.9.0,>=0.8.0
Downloading parso-0.8.1-py2.py3-none-any.whl (93 kB)
|████████████████████████████████| 93 kB 70 kB/s
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
Downloading prompt_toolkit-3.0.9-py3-none-any.whl (355 kB)
|████████████████████████████████| 355 kB 77 kB/s
Collecting traitlets>=4.2
Downloading traitlets-5.0.5-py3-none-any.whl (100 kB)
|████████████████████████████████| 100 kB 118 kB/s
Collecting backcall
Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting colorama
Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting decorator
Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting ipython-genutils
Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting pickleshare
Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting pygments
Downloading Pygments-2.7.3-py3-none-any.whl (950 kB)
|████████████████████████████████| 950 kB 62 kB/s
Collecting wcwidth
Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Installing collected packages: wcwidth, parso, ipython-genutils, traitlets, pygments, prompt-toolkit, pickleshare, jedi, decorator, colorama, backcall, ipython
Successfully installed backcall-0.2.0 colorama-0.4.4 decorator-4.4.2 ipython-7.19.0 ipython-genutils-0.2.0 jedi-0.18.0 parso-0.8.1 pickleshare-0.7.5 prompt-toolkit-3.0.9 pygments-2.7.3 traitlets-5.0.5 wcwidth-0.2.5
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>conda list
# packages in environment at E:\Anaconda3\install1\envs\wind_2021:
#
backcall 0.2.0 <pip>
ca-certificates 2020.12.5 h5b45459_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
certifi 2020.12.5 py38haa244fe_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
colorama 0.4.4 <pip>
decorator 4.4.2 <pip>
ipython 7.19.0 <pip>
ipython-genutils 0.2.0 <pip>
jedi 0.18.0 <pip>
numpy 1.19.5 <pip>
openssl 1.1.1i h8ffe710_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
parso 0.8.1 <pip>
pickleshare 0.7.5 <pip>
Pillow 8.1.0 <pip>
pip 20.3.3 pyhd8ed1ab_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
prompt-toolkit 3.0.9 <pip>
Pygments 2.7.3 <pip>
python 3.8.6 h7840368_4_cpython https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
python_abi 3.8 1_cp38 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
setuptools 49.6.0 py38h9bdc248_2 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
sqlite 3.34.0 h8ffe710_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
torch 1.7.1+cpu <pip>
torchaudio 0.7.2 <pip>
torchvision 0.8.2+cpu <pip>
traitlets 5.0.5 <pip>
typing-extensions 3.7.4.3 <pip>
vc 14.2 hb210afc_2 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
vs2015_runtime 14.28.29325 h5e1d092_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
wcwidth 0.2.5 <pip>
wheel 0.36.2 pyhd3deb0d_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
wincertstore 0.2 py38h32f6830_1005 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
(wind_2021) L:\PytorchProject>
参考:https://pytorch.org/get-started/locally/