title: How do I completely clean-up or reset a Python installation on Ubuntu
body: <p>Package management and juggling pip, anaconda, PPAs, and virtual-environments is difficult. Somewhere in my constellation of dependencies, things are broken. I'm on Ubuntu 18.04. As far as I know, I cannot fix these dependencies by hand.</p>
  
  <p>The problem, for what it's worth: I've been unable to use tensorflow for a few months. Every time I try to fix it, even uninstalling and reinstalling everything to the best of my knowledge, things still don't work. After sinking enough hours, I'm looking for a "nuclear solution".</p>
  
  <p>What I would like to do is cleanly remove everything except Python and any Python packages my system might require, so that I can start fresh (and hopefully do things <em>properly</em>.)</p>
  
  <p>So, my question: <strong>How can I systematically clean up or remove my Python installation?</strong> I want to wipe everything and start anew. Does there exist a systematic guide, or a smart and reputable script that does this?</p>