If Linux, Mac directly use pytorch from homepage, and reinstall TorchText
Please install anaconda directly: installation package
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
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