title: Why can't pip uninstall pysqlite?
body: <p>I'm trying to remove <code>pysqlite</code> from my system using <code>pip</code>.</p>
  
  <p>What I get doing so makes no sense:</p>
  
  <pre><code>$ pip uninstall pysqlite
  </code></pre>
  
  <p>The command worked, but watch this:</p>
  
  <pre><code>$ pip freeze
  [...]
  pysqlite==1.0.1
  </code></pre>
  
  <p>Let's try again</p>
  
  <pre><code>$ pip uninstall pysqlite
  Can't uninstall 'pysqlite'. No files were found to uninstall.
  </code></pre>
  
  <p>Nop, seems removed but still show up in <code>pip freeze</code></p>
  
  <p>Now comes the fun</p>
  
  <pre><code>$ pip install pysqlite
  Requirement already satisfied (use --upgrade to upgrade): pysqlite in /usr/lib/python2.6/dist-packages
  Cleaning up...
  </code></pre>
  
  <p>Fair enough:</p>
  
  <pre><code>$ pip install -U pysqlite
  [...]
  error: command 'gcc' failed with exit status 1
  [...]
  Can't roll back pysqlite; was not uninstalled
  [...]
  </code></pre>
  
  <p>I just don't get it. Why can't pip uninstall pysqlite?</p>