1

我似乎无法在我的 Windows 7 环境中安装 GitPython。我在 python-2.7.8 和 python-3.4.1 上都尝试了 GitPython-0.1.7 和 GitPython-0.3.2.RC1,所有组合都会导致失败。

我使用“python setup.py install”来安装这些包。

GitPython-0.1.7 似乎需要 ez_setup 反过来又失败了,因为它需要 setuptools。

GitPython-0.3.2.RC1 似乎需要 gitdb-0.5.4 引发许多警告

我知道python-3.x 不支持GitPython,这仍然是真的吗?

正如你可以从我的漫谈中看出的那样,我有点沮丧,希望得到一些指导。

4

1 回答 1

2

获取https://sites.google.com/site/pydatalog/python/pip-for-windows并将其指向您的 Python34 或 Python27 目录。它应该为您设置 setuptools 和 easy_install。开始的好地方。

https://pypi.python.org/pypi/GitPython/0.3.2.RC1

安装

由于此版本的 GitPython 依赖于GitDB,而 GitDB 又需要 Async才能工作,因此如果您进行手动安装而不是使用 easy_install,安装会稍微复杂一些。

于 2014-10-01T15:47:56.040 回答