安装anaconda及pytorch
安装anaconda,下载64位版本安装https://www.anaconda.com/download/ 官网比较慢,可到清华开源镜像站上下载
环境变量: D:\Anaconda3;D:\Anaconda3\Library\mingw-w64\bin;D:\Anaconda3\Library\usr\bin;D:\Anaconda3\Library\bin;D:\Anaconda3\Scripts;
官网教程 https://docs.anaconda.com/anaconda/navigator/tutorials/
包含的包:Packages for 64-bit Windows with Python 3.6
配置完pycharm调用Anaconda后,可以快乐的在pycharm里面调用各种科学计算库
具体步骤如下:
1.安装Anaconda
2.安装Pycharm
3.在Pycharm的Files>>settings>>Project Interpreter>>Add local 里面添加Anaconda python.exe. 应用之后就可以调用各种Anaconda的库啦
![](https://images2017.cnblogs.com/blog/33015/201712/33015-20171217203908858-1643210142.png)
按照这个帖子安装pytorch: http://blog.csdn.net/xiangxianghehe/article/details/73500031
pytorch conda安装包—pytorch-0.1.12-py36_0.1.12cu80.tar.bz2
conda install --offline pytorch-0.1.12-py36_0.1.12cu80.tar.bz2 #离线安装
tar.bz2后缀: tar即打包的文件,bz2,意思为压缩过的。参考http://www.360doc.com/content/12/0726/11/480065_226547679.shtml