ubuntu16.04安装torch:  Python2.7.14  (亲测)

pip install  torch 下载torch,文件太大,复制下载地址到浏览器下载,速度快,而且不会断网后要重新下载。

下载链接:  torch-0.4.1-cp27-cp27mu-manylinux1_x86_64.whl 

https://files.pythonhosted.org/packages/06/a7/6a173738dd6be014ebf9ba6f0b441d91b113b1506a98e10da4ff60994b54/torch-0.4.1-cp27-cp27mu-manylinux1_x86_64.whl

pip install  torch-0.4.1-cp27-cp27mu-manylinux1_x86_64.whl     ,安装成功 

https://blog.csdn.net/u011961856/article/details/77679815

 

**********************************************************windows7下安装torch********************************************************

从百度云下载 torch: 

https://pan.baidu.com/s/1dF6ayLr#list/path=%2F&parentPath=%2F

cd "下载包的路径"
conda install numpy mkl cffi
conda install --offline pytorch????.tar.bz2

win7下 python3.6 成功安装 (亲测)

https://zhuanlan.zhihu.com/p/26871672

https://github.com/peterjc123/pytorch-scripts

 

 

Logo

更多推荐