Reference: Https://www.tensorflow.org/install/install_windows#installing_with_anaconda
1. Download Anaconda
https://www.anaconda.com/download/
Download the version here:
Click the *.exe file to install directly, after the installation is complete in "All Programs" found Anaconda Prompt
Run as Administrator. (You can also run the file as an administrator in the installation directory, my installation directory is D:\Tensorflow\Anaconda3\Scripts)
Execute Python--version to see if Python is installed properly.
2. Python normal installation, start installation TensorFlow
Or do pip install TensorFlow in the Anaconda prompt command-line window, which requires a few minutes to download TensorFlow and the related packages it depends on.
After the installation is successful, execute Python into the python command line, and enter the following test code to test:
Import TensorFlow as TFA = Tf.constant (ten) B = tf.constant (+) Sess = tf. Session () print (Sess.run (A + B)) Sess.close ()
3. TensorFlow After normal use, configure Pycharm
Project interpreter, file, settings, set the path to anaconda under the installation path Python.exe
Windows install Python and TensorFlow