title: pip uninstall: "No files were found to uninstall."
body: <p>I have created a python module, call it 'foo_bar'.</p>
  
  <p>I can <strong>install</strong> it and I can <strong>upgrade</strong> it, but I <strong>cannot uninstall</strong> it.</p>
  
  <p>I build my module using <strong>bdist_wheel</strong>:</p>
  
  <pre><code>$ python3 setup.py bdist_wheel
  </code></pre>
  
  <p>And I install and upgrade it as follows:</p>
  
  <pre><code>$ python3 -m pip --timeout 60 install --upgrade dist/foo_bar-1.4.3-py3-none-any.whl
  </code></pre>
  
  <p>It is listed within Python 3.4 framework directory:</p>
  
  <pre><code>ls -al /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/
  drwxr-xr-x   12 samwise  admin     408 Jun 21 02:50 foo_bar
  drwxr-xr-x    9 samwise  admin     306 Jun 21 02:50 foo_bar-1.4.3.dist-info
  </code></pre>
  
  <p>And it listed within pip freeze:</p>
  
  <pre><code>$ python3 -m pip freeze
  foo-bar==1.4.3
  </code></pre>
  
  <p>However, if I try to perform pip uninstall, it cannot find it's files</p>
  
  <pre><code>$ python3 -m pip uninstall foo-bar
  Can't uninstall 'foo-bar'. No files were found to uninstall.
  </code></pre>
  
  <p>Did I do something wrong within my setup.py for it not to be able to find my modules files during uninstall?</p>
  
  <p>Version info is as follows:</p>
  
  <pre><code>$ python3 --version
  Python 3.4.4
  $ python3 -m pip --version
  pip 8.1.2 from /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages (python 3.4)
  </code></pre>