How to uninstall a git repo using pip?

前端 未结 1 387
星月不相逢
星月不相逢 2021-02-01 14:09

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@475a3bef1e3f         


        
1条回答
  •  隐瞒了意图╮
    2021-02-01 15:03

    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

    0 讨论(0)
提交回复
热议问题