Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1019 Bytes

windows_torch_en.md

File metadata and controls

25 lines (16 loc) · 1019 Bytes

Windows Platform Installation for PyTorch

If Linux, Mac directly use pytorch from homepage, and reinstall TorchText

Python installation

Please install anaconda directly: installation package

Pytorch installation

InBaidu Network Disk download offline, Version 0.3 or 0.2 wheels

pip install torch0.3XXX.whl

If it is a conda installation environment

conda install --offline  torch0.3XXX.tar.bz

TorchText installation

The assumption is that you have git and pip, if you don't, you need to download git and put it in the Path environment variable.

pip install git+https://github.com/pytorch/text.git 

If you need a proxy,

pip install git+https://github.com/pytorch/text.git --proxy proxy.xx.com:8080 

Reference Link: https://zhuanlan.zhihu.com/p/31747695