python-tensorflowHow can I install TensorFlow for Python 3.7?
To install TensorFlow for Python 3.7, you can use the pip
package manager.
The following code block shows an example of how to install TensorFlow for Python 3.7:
pip install tensorflow
The output of the above command should look something like this:
Collecting tensorflow
Downloading https://files.pythonhosted.org/packages/d3/f1/2e9a7b8a6dbea9b12f2b8d80d7d7d8f8deea7a2f5b6b9f2a6d2ab6d86ce2/tensorflow-1.13.1-cp37-cp37m-win_amd64.whl (63.1MB)
100% |████████████████████████████████| 63.1MB 73kB/s
Collecting absl-py>=0.7.0 (from tensorflow)
Downloading https://files.pythonhosted.org/packages/ac/a6/f9fbbf5f5ad7d1f9f6b8a6d48f1d7e3fea7f9a8fafd45f3f6a8f8cdbf845/absl-py-0.7.1.tar.gz (97kB)
100% |████████████████████████████████| 102kB 1.5MB/s
Collecting keras-applications>=1.0.6 (from tensorflow)
Downloading https://files.pythonhosted.org/packages/71/e3/19762fdfc62877ae9102edf6342d71b28fbfd9dea3d2f96a882ce099b03f/Keras_Applications-1.0.8-py2.py3-none-any.whl (50kB)
100% |████████████████████████████████| 51kB 1.4MB/s
Collecting keras-preprocessing>=1.0.5 (from tensorflow)
Downloading https://files.pythonhosted.org/packages/28/6a/8c1f62c37212d9fc441a7e9d4b7fbd3f6c9d7bf5f798a631ab10b1e179c6/Keras_Preprocessing-1.1.0-py2.py3-none-any.whl (41kB)
100% |████████████████████████████████| 51kB 1.5MB/s
Installing collected packages: absl-py, keras-applications, keras-preprocessing, tensorflow
Successfully installed absl-py-0.7.1 keras-applications-1.0.8 keras-preprocessing-1.1.0 tensorflow-1.13.1
Alternatively, you can also download and install the pre-compiled TensorFlow binaries from here.
The steps to install TensorFlow for Python 3.7 are as follows:
- Install
pip
package manager. - Use
pip
to install TensorFlow. - Alternatively, download and install the pre-compiled TensorFlow binaries.
More of Python Tensorflow
- How can I use Python and TensorFlow to handle illegal hardware instructions in Zsh?
- How do I resolve a SymbolAlreadyExposedError when the symbol "zeros" is already exposed as () in TensorFlow Python util tf_export?
- How can I use YOLOv3 with Python and TensorFlow?
- ¿Cómo implementar reconocimiento facial con TensorFlow y Python?
- How do I install TensorFlow using pip and PyPI?
- How can I use Python and TensorFlow to implement YOLO object detection?
- How can I use Python and TensorFlow to implement YOLOv4?
- How can I use XGBoost, Python, and Tensorflow together for software development?
- How can I install TensorFlow offline using Python?
- How do I update my Python TensorFlow library?
See more codes...