How to Uninstall TensorFlow

How to Uninstall TensorFlow

This tutorial will guide you through the process of uninstalling TensorFlow from your system.

Explore our new video:


If you’re no longer using TensorFlow, you can uninstall it with the following steps.

What is TensorFlow?

TensorFlow is a powerful open-source software library for data analysis and machine learning. Originally developed by Google Brain team members for internal use, TensorFlow is now used by major tech companies and research institutions around the world.

Why would you want to uninstall TensorFlow?

There are several reasons you might want to uninstall TensorFlow. Maybe you installed the wrong version for your system, or you want to start fresh with a new installation. Perhaps you’re trying to free up some space on your hard drive. Whatever the reason, it’s easy to uninstall TensorFlow.

Here’s how:

First, find the directory where TensorFlow is installed. On Mac, it’s usually in /usr/local/lib/python2.7/site-packages/. On Windows, it’s in C:Python27Libsite-packages.

Next, delete the folder named “tensorflow” (or “tensorflow-1.0.0” or whatever version you have).

Finally, uninstall TensorFlow using pip:

pip uninstall tensorflow

How to uninstall TensorFlow

If you need to uninstall TensorFlow for any reason, follow the instructions below.

First, remove TensorFlow files:

sudo rm -rf /usr/local/lib/python2.7/dist-packages/tensorflow*

Then, remove TensorFlow folders:

sudo rm -rf /usr/local/lib/python2.7/site-packages/tensorflow*

Finally, uninstall TensorFlow using pip:

sudo pip uninstall tensorflow


We hope you found this guide helpful! If you have any further questions, please don’t hesitate to reach out to us.

Keyword: How to Uninstall TensorFlow

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top