赞
踩
原文地址:使用 Pip 安装来自于 git 仓库的软件包 - Only(AR)'s blog (onlyar.site)
- # https 链接
- pip install git+https://github.com/<user>/<repo>.git
-
- # @ 后加版本号
- pip install git+https://github.com/<user>/<repo>.git@<ver>
-
- # ssh 链接
- pip install git+ssh://git@github.com/<user>/<repo>.git@<ver>
注意:
从 github 的 Copy 按钮复制下来的 ssh 链接中 github.com
和 <user>
是使用冒号连接,这种格式会出错,请手动改为 /
。
pip直接安装git上的项目_pip git+-CSDN博客https://blog.csdn.net/qq_26884501/article/details/122182386
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。