I have recently updated my server using apt-get upgrade and then suddenly trac started showing the following error message:
Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.
I have tried to install python-subversion, but that was installed already, so I have reinstalled it, but that didn't help.
~# 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
I am running svn 1.7.4 on ubuntu 11.10 x64.
I do not know much about python. Why doesn't python find SVN anymore?
Update
I have also tried installing the package python-svn using sudo apt-get install python-svn. That did not help either.
pythonin a different place? Try doing awhich python. – Andrew M. May 12 '12 at 14:25/usr/bin/python. – d_inevitable May 12 '12 at 14:59pip install svn, although it might be worth looking into whysvnwas not put into the correct place. – Andrew M. May 12 '12 at 15:02sudo pip install svnDownloading/unpacking svnCould not find any downloads that satisfy the requirement svnNo distributions at all found for svn– d_inevitable May 12 '12 at 16:17