How to find which version of TensorFlow is installed in my system?
You can use the following code snippet to check which version of TensorFlow is installed in your system:
You can use the following code snippet to check which version of TensorFlow is installed in your system:
which version of TensorFlow is installed
import tensorflow as tf
print(tf.__version__)
<div class="alert alert-info flex not-prose">![]()
<span class="hidden md:block">Watch a video course</span>Python - The Practical Guide</div>
This will print the version of TensorFlow that is currently installed on your system. For example, if you are running version 2.4.1 of TensorFlow, the above code will output "2.4.1".