Gitosis安装错误:setup.py RuntimeError

时间:2018-01-01 13:24:36

标签: git git-bash gitosis

我正在尝试在Window 10上安装gitosis。 我有Python 3.6.3 :: Anaconda自定义(64位)并安装了EasyInstall包。我也准备好了我的Git环境。

我在我的git bash上尝试了以下代码,从URL中克隆gitosis。

$git clone https://github.com/tv42/gitosis.git

这很好。

Cloning into 'gitosis'...
remote: Counting objects: 661, done.
remote: Total 661 (delta 0), reused 0 (delta 0), pack-reused 661
Receiving objects: 100% (661/661), 118.12 KiB | 374.00 KiB/s, done.
Resolving deltas: 100% (430/430), done.

但是,当我尝试按如下方式运行setup.py时,

$cd gitosis
$python setup.py install

我收到以下错误消息。

Traceback (most recent call last):
  File "setup.py", line 54, in <module>
    'gitosis.templates': subdir_contents('gitosis/templates'),
  File "setup.py", line 17, in subdir_contents
    return list(_subdir_contents(path))
  File "setup.py", line 14, in _subdir_contents
    raise RuntimeError()
RuntimeError

请帮助我!

1 个答案:

答案 0 :(得分:1)

Gitosis已经过时了,不再维持。请改用gitolite