我正在开发一个django应用程序,我正在使用pip来管理我的需求.如何安装特定的git提交?
在我的情况下,我需要安装此提交:https: //github.com/aladagemre/django-notification/commit/2927346f4c513a217ac8ad076e494dd1adbf70e1
我正在尝试pip install一个 repo 的特定分支,它位于这里:https : //github.com/grutz/flask-session/tree/ed62129fa1d9af36e77e9ce1de571d2c873a6c4e
根据这个 SO question,我尝试了以下但没有运气:
# pip install <link>
pip install https://github.com/grutz/flask-session/tree/ed62129fa1d9af36e77e9ce1de571d2c873a6c4e
# pip install git+<link>
pip install git+https://github.com/grutz/flask-session/tree/ed62129fa1d9af36e77e9ce1de571d2c873a6c4e
# pip install git+https://github.com/user/repo@branch
pip install git+https://github.com/grutz/flask-session@ed62129fa1d9af36e77e9ce1de571d2c873a6c4e
# pip install git+https://github.com/user/repo.git@branch
pip install git+https://github.com/grutz/flask-session.git@ed62129fa1d9af36e77e9ce1de571d2c873a6c4e
Run Code Online (Sandbox Code Playgroud)
我在这里做错了什么?我可以发布我的堆栈跟踪,但我想我在这里遗漏了一些简单的东西,这只会增加混乱。