我最近使用更新了我的服务器apt-get upgrade
,然后突然 trac 开始显示以下错误消息:
Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.
Run Code Online (Sandbox Code Playgroud)
我试过安装python-subversion
,但已经安装了,所以我重新安装了它,但这没有帮助。
~# python
Python 2.7.2+ (default, Oct 4 2011, 20:06:09)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import svn
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named svn
Run Code Online (Sandbox Code Playgroud)
我在 ubuntu 11.10 x64 上运行 svn 1.7.4。 …