进入pytorch官网,根据python版本和安装方式进行选择 $ pip install http://download.pytorch.org/whl/cu75/torch-0.1.12.post2-cp27-none-linux_x86_64.whl $ pip install torchvision 12 即可完成pytorch的安装