1, from the Anaconda Official website (https://www.continuum.io/downloads) Download the Linux version of the installation files (recommended Python version 2.7), run SH to complete the installation.
After installing the Anaconda, python3.5 and other related tools are installed.
2, Installation Pymysql
>>> pip Install Pymysql
3. After the installation is complete, open the terminal and create the TensorFlow virtual environment
In the prompt, enter:
>>> Conda create-n TensorFlow python=3.5
4. Enter TensorFlow environment, enter
>>> Source Activate TensorFlow
Before the command line, you can see the Add (TensorFlow) before entering the prompt
Became like this:
(TensorFlow) ...>>>
If you want to exit the virtual environment, enter deactive TensorFlow to
5, Installation TensorFlow
Direct input:
>>> pip Install TensorFlow
Install python3.6 installation TensorFlow under CentOS