WIN10 installation Anaconda3
1. Installing Anaconda3
Select the appropriate anaconda to install, click here, download the corresponding system version of the Anaconda, the official website is now the version of Anaconda 4.3.1 for python3.6. The author installs the version 4.3.0.
As with the installation of ordinary software, all choose the default, note the python3.6 added to the environment variable .
So anaconda is installed, we can use the following command to see which packages Anaconda have installed.
Run 开始菜单->Anaconda3—>Anaconda Prompt
:
list
You can see that you have installed NumPy, sympy and other commonly used packages.
2. Installing TensorFlow
TensorFlow currently supports only Python version 3.5 under Windows.
steps to install TensorFlow with Anaconda under Windows
First, download the installation Anaconda
Under Windows default python3.6, after the installation is complete, open the Anaconda-prompt under Folder Anaconda3 (-bit) as shown in:
Enter the command inside: Anaconda search-t Conda TensorFlow
The purpose is to view the TensorFlow version that can be installed;
Then find the version which we need, bloggers want to install under Windows, so choose: Dhirschfeld/tensorflow 0.12.orc,win-64
Then enter the command: Anaconda show Dhirschfeld/tensorflow, to see how to install the version, after running the display:
Copy "Conda install ..." This sentence, run on it, need a moment, after the installation is successful, we will verify that the TensorFlow is installed successfully
Start
Enter in the Spyder editor
The test code is as follows:
import tensorflow as tfhello = tf.constant(‘Hello, TensorFlow!‘)sess = tf.Session()print(sess.run(hello))
Operation Result:
If you follow the above steps to install the error, it may be because the Python version of your computer does not match anaconda The default version is python3.6, preferably to 3.5 version of Python, follow the above steps to install will not error, you can enter the following information in cmd: Conda install python=3.5.2, the operation takes a few minutes, Install python3.5.2, and then follow the steps above to execute it again!
WIN10 installation Anaconda3 with Anaconda3 installation TensorFlow 1.2 (only python3.5 supported)