Python:pip安装github库指定特定版本

用以下命令:

pip install git+[url here]@[版本号]

举例:(以nerfacc的0.5.2版本为例)

pip install git+https://github.com/KAIR-BAIR/nerfacc.git@v0.5.2
posted @ 2024-09-06 17:47  龙雪  阅读(193)  评论(0)    收藏  举报  来源