ubuntu16.04 cuda 9.0 python2.7
1.下载
进入https://pytorch.org/previous-versions/
下载环境相对应的.whl文件
2.安装
pip install **.whl
pip install torchvision
3.测试
python
import torch
不报错即安装完成.
ubuntu16.04 cuda 9.0 python2.7
1.下载
进入https://pytorch.org/previous-versions/
下载环境相对应的.whl文件
2.安装
pip install **.whl
pip install torchvision
3.测试
python
import torch
不报错即安装完成.