如何将python包更新为git提交版本?

如何将python包更新为git提交版本?,python,pip,Python,Pip,如何将我的xnat python包更新到此特定的提交版本 当我尝试pip安装xnat时,它没有包含此更新,我想知道如何将其包含在您应该运行的中 pip install git+https://gitlab.com/radiology/infrastructure/xnatpy.git@f58f04a2eeae62cd8f0631d213c6ff5552c44a70#egg=xnat PyPI将从存储库https://gitlab.com/radiology/infrastructure/xn

如何将我的xnat python包更新到此特定的提交版本

当我尝试
pip安装xnat
时,它没有包含此更新,我想知道如何将其包含在您应该运行的中

pip install git+https://gitlab.com/radiology/infrastructure/xnatpy.git@f58f04a2eeae62cd8f0631d213c6ff5552c44a70#egg=xnat
PyPI将从存储库
https://gitlab.com/radiology/infrastructure/xnatpy.git
在提交时
f58f04a2eeae62cd8f0631d213c6ff5552c44a70
您应该运行

pip install git+https://gitlab.com/radiology/infrastructure/xnatpy.git@f58f04a2eeae62cd8f0631d213c6ff5552c44a70#egg=xnat

PyPI将安装软件包(egg)从存储库
https://gitlab.com/radiology/infrastructure/xnatpy.git
在提交时
F58F04A2EEAE62CD8F0631D2133C6FF5552C44A70是否与conda相同?您必须通过conda安装pip,然后运行此命令是否与conda相同?您必须通过conda安装pip,然后运行此命令