

Did I miss something obvious? Let me know in the comments section.

Getting TensorFlow off your actual machine and into Docker will save you headaches down the road. Ultimately, this is what I would recommend if you can make it work. The TensorFlow docs have a good page on using Docker for TensorFlow. You probably want to use Anaconda: conda create -name tensorflow-env python=3.8 pip tensorflow.You can upgrade the package: pip install tensorflow -upgrade.If you want to use TensorFlow in your current environment On the other hand, you may not actually need to uninstall TensorFlow. If you’re on Windows and you’re still having troubleįinally, if one of the solutions above worked, you may also want to remove the packages TensorFlow installs automatically. Go to the source directory and run: python setup.py develop -uninstall.If you’re willing to start a new conda environment, just remove the current one: conda remove -name -all.If you want to reuse your conda environment, you can run: conda remove tensorflow.In this case, find the Python environment where the TensorFlow install lives and run: /path/to/python -m pip uninstall tensorflow Once in a while, the pip in your current path is not the same pip you used to install it. pip install git+ pip install -U tfds-nightly On the next cell : import tensorflow as tf from 2pix import pix2pix But it gives me : ModuleNotFoundError: No module named 'tensorflowexamples' Notebook - version : 6.0.3 Tensorflow - version : 2.0.Or, if you installed tensorflow-gpu: pip uninstall tensorflow-gpu.In most cases, you should be able to run: pip uninstall tensorflow.Uninstall TensorFlow If you installed TensorFlow with pip This post enumerates the solutions I’ve seen. The internet is littered with questions from frustrated developers and data scientists trying to remove this behemoth from their machines. There are lots of ways to install TensorFlow, which means (unfortunately) there is no one-size-fits-all solution for uninstalling it.
