Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I find out the version of TensorFlow on my computer?

Tags:

tensorflow

What's the command to find out the version of TensorFlow on my computer? I installed TensorFlow on my computer some time ago and want to make sure that I have the latest version.

like image 961
David293836 Avatar asked Aug 18 '16 17:08

David293836


People also ask

How do I find the version of TensorFlow in Windows?

Issue pip show tensorflow command If you have installed tensorflow using pip then you can easily get the version by running pip show tensorflow within your command prompt.

Which version of Python is TensorFlow?

Requirements. The TensorFlow Python API supports Python 2.7 and Python 3.3+. The GPU version works best with Cuda Toolkit 7.5 and cuDNN v5. Other versions are supported (Cuda toolkit >= 7.0 and cuDNN >= v3) only when installing from sources.


2 Answers

import tensorflow as tf
tf.__version__
like image 144
Yaroslav Bulatov Avatar answered Oct 24 '22 01:10

Yaroslav Bulatov


pip list | grep tensorflow

You can find the version of any installed library by replacing 'tensorflow' with the library name.

like image 15
OmK Avatar answered Oct 24 '22 02:10

OmK