How to uninstall a git repo using pip?

I’m using pip in a virtualenv and have installed a package from a git repo by doing this:

pip install -e git://github.com/dwaiter/django-bcrypt.git@475a3bef1e3ff31935a2dc905e244a63a804fce9#egg=django_bcrypt-dev

But I now want to uninstall that and can’t see how, as it doesn’t have a conventional package name. I’ve tried what seem like obvious variations (like replacing ‘install’ with ‘uninstall’) but can’t see how to do this from the docs.

  • git init doesn't create .git directory
  • what is the meaning and difference PVCS version - SVN revision - GIT sha value
  • git gc --aggressive --prune=all does not remove big file from repository
  • Git pull aborts itself, local file changes will be overwritten by merge
  • Check if git branch exists in bash: weird interpolation behavior
  • Can I have “git stash” to automatically include untracked files by default?
  • (In this case I ultimately want to upgrade from the git repo version of django-bcrypt to version 0.9.2, and am assuming I need to uninstall the git version first.)

  • What is the meaning of 'RPC failed' in git?
  • git add . doesn't work
  • Branch/change not merged, though Gerrit claims, it is
  • Multiple versions of Git on my Windows PC?
  • Git lfs (Large File Storage) says lfs managed files are modified after a git lfs pull
  • Git List Commits By Blobs
  • One Solution collect form web for “How to uninstall a git repo using pip?”

    You uninstall it like you would any other library:

    pip uninstall django-bcrypt

    If you want to ultimately upgrade, you could also do

    pip install --upgrade -e git://github.com/dwaiter/django-bcrypt.git#egg=django_bcrypt

    Git Baby is a git and github fan, let's start git clone.