I had installed a package using Pip. However, when I tried to uninstall it, I got this error:
$ sudo pip uninstall h5py Can't uninstall 'h5py'. No files were found to uninstall.
Since I could not discover the real reason for this error, I resorted to finding the deleting the installed directory for this package. I found the directory
/usr/local/lib/python2.7/dist-packages and deleted that.
Tried with: Ubuntu 14.04