Joh*_*etz 5 python pip git-fork
我正在尝试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)
我在这里做错了什么?我可以发布我的堆栈跟踪,但我想我在这里遗漏了一些简单的东西,这只会增加混乱。
pip需要知道项目的名称;egg=使用URL 哈希参数命名:
pip install git+https://github.com/grutz/flask-session.git@ed62129fa1d9af36e77e9ce1de571d2c873a6c4e#egg=flask-session
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2680 次 |
| 最近记录: |