9951 explained code solutions for 126 technologies


python-tensorflowHow can I install TensorFlow offline using Python?


Installing TensorFlow offline using Python

  1. Download the appropriate version of TensorFlow from the TensorFlow website.
  2. Extract the files and navigate to the directory where the files are located.
  3. Use the pip install command to install the package. For example:
pip install --user --upgrade ./tensorflow-1.15.2-cp37-cp37m-linux_x86_64.whl
  1. This will install the TensorFlow package into the local Python environment.
  2. To verify the installation, open a Python shell and type import tensorflow as tf.
  3. If the installation is successful, no errors will be printed.
  4. To learn more about using TensorFlow, check out the official documentation.

Edit this code on GitHub