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.

  • Creating branch inside a branch in git
  • git reword without resolving merge conflicts again
  • How to stage all files in if a subfolder on git
  • First time using node.js - “ReferenceError: node is not defined”
  • Git Empty Commit With No Changes
  • How to pick with which key to sign a git push?
  • (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.)

  • How to find the branch for a commitId in git?
  • Is there a command to undo git init?
  • View git changes/diffs of local commits not pushed to remote
  • How to recover from “git stash save --all”?
  • How to setup Github SSH key on second computer
  • How to store GitHub wiki as part of source
  • 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.