1. Download anaconda3, website: https://repo.anaconda.com/archive/
2.after install anaconda, run "anaconda prompt" with start menu of windows
3.enter "conda create -n tensorflow python=3.X" to create virtual enviroment('X' means version of python), then enter "activate tensorflow" to into virtual enviroment
4.intall tensorflow, there are two methods: one is enter "pip install --upgrade --ignore-installed tensorflow" to install version of tensorflow with CPU, otherwise, this method always fail when internet is bad. the other is download tensorflow by ourselves, the website:https://pypi.org/project/tensorflow/#files
5. run "conda install tensorflow-2.1.0-cp37-cp37m-win_amd64.whl" command until finishing
6.then enter "python" to enter python enviroment
7.tensorflow installed correct while run "import tensorflow as tf " command corrected
8.but, something wrong with it. the error msg is "ImportError: DLL load failed: 找不到指定的模块。", I don't know why yet.
Reinstall tensorflow by anaconda
1. Download anaconda3, website: https://repo.anaconda.com/archive/
2.after install anaconda, run "anaconda prompt" with start menu of windows
3.enter "conda create -n tensorflow python=3.X" to create virtual enviroment('X' means version of python), then enter "activate tensorflow" to into virtual enviroment
4. to view tensorflow information "anaconda show anaconda/tensorflow "(definitely importent)
5. you will get msg from step 4, copy the last info to run script
6. a few monments later, you can use "python" command into python enviroment, then "import tensorflow as tf", you will find tensorflow worked.