Anaconda3 + pytorch installation tutorial

 1. With regard to Anaconda version and download

 Version 1.1

   Anaconda two versions one for py2.7 of Anaconda2, a Anaconda3 py3 apply. Under normal circumstances, we are the first to install the python, python with in the case of Anaconda to use existing, or install or use conda library management py two versions, to solve the problem py coexistence of multiple versions. There are many online Python2 the basis of the existing equipment up Anaconda.

   Here Since I first installed python3.6 (detailed installation, visible on a.), So this solve all the problems of the summary is based on python3.6 the installed base up + pycharm installation Anaconda3.

   1.2 Download

   There are two ways to download:

  A. 's official website (not recommended) https://www.anaconda.com/download/

   Not recommended, because of the particular slow, and is usually installed on the mistake to the general, if you are with your network fast (hee hee), install the appropriate version like, for example, you are py3 will install 3.                             

   B. mirror site installation. https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/

   This is the Tsinghua University mirror network, you need to download directly to find, fast and labor-saving, highly recommended.

              

 

 

 The problem here, python option when you need to install and you are the same , that is, when you choose to install python, you choose JUST FOR ME, so now you choose, if at the time the election is ALL USERS, so now selected.

 

 

 

 

 The first and second terms are elected, there is no worry about the environment variable configuration.

 1.3 verify the successful installation anaconda
terminal input conda --version 

It successfully

 

2.pytorch installation

pip install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp36-cp36m-win_amd64.whl 
pip install torchvision

安装成功啦

Guess you like

Origin www.cnblogs.com/huhujiang/p/12048668.html