1. Install pip: sudo apt-get install python-pip python-dev
2. Define the TensorFlow installation package address in the python2.7 environment that only supports CPU: export TF_BINARY_URL=
3. Install TensorFlow through PIP: sudo pip install --upgrade $TF_BINARY_URL
The above is the detailed content of Artificial Intelligence - TensorFlow environment configuration. For more information, please follow other related articles on the PHP Chinese website!