我试图pip install
一个特定的repo分支,它位于这里:https://github.com/grutz/flask-session/tree/ed62129fa1d9af36e77e9ce1de571d2c873a6c4e
根据this 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
我做错什么了?我可以发布我的堆栈跟踪,但我觉得我遗漏了一些简单的东西,这只会增加混乱。在
pip需要知道项目的名称;使用
egg=
URL散列参数命名它:相关问题 更多 >
编程相关推荐