submin2.2.1安装配置完成后,建仓库报错:Failed to import python 'svn' module, please install.

发布于 2021-11-23 15:05:12 字数 1673 浏览 804 评论 3

在CentOS release 6.4 (Final)下,安装bitnami-subversion-1.8.13+submin2.2.1配置完成后,新建仓库报错:Failed to import python 'svn' module, please install.

This should never happen! Please tell the administrator this error message and what caused it. Technical details (if any):

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/submin/dispatch/dispatcher.py", line 61, in dispatcher
    response = handler(request, path)
  File "/usr/lib/python2.6/site-packages/submin/auth/decorators.py", line 23, in _decorator
    return fun(self, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/submin/views/repositories.py", line 37, in handler
    return self.add(req, path[1:], templatevars)
  File "/usr/lib/python2.6/site-packages/submin/auth/decorators.py", line 23, in _decorator
    return fun(self, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/submin/auth/decorators.py", line 32, in _decorator
    return fun(self, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/submin/views/repositories.py", line 115, in add
    a = Repository(reposname, vcs_type)
  File "/usr/lib/python2.6/site-packages/submin/models/repository.py", line 89, in __init__
    self.repository = vcs.Repository(repositoryname)
  File "/usr/lib/python2.6/site-packages/submin/plugins/vcs/svn/repository.py", line 90, in __init__
    raise VCSImportError("Failed to import python 'svn' module, please install")
VCSImportError: Failed to import python 'svn' module, please install
To the administrator: please run diagnostics to find common problems

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

无声静候 2021-11-27 05:26:52

没有,后来放弃了,使用svnadmin

把昨日还给我 2021-11-25 17:31:44

python svn module装了么? yum -y install subversion-python 应该就可以了。已测过

成熟的代价 2021-11-24 12:22:18

楼主解决了吗

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文