Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm stuck at this point with ViewVC

ImportError: No module named svn

I can't find prebuilt Python 2.6 bindings for Subversion, and I can't seem to locate the source for them either!

share|improve this question

The bindings ship as part of Subversion -- get the source to subversion and you have them (almost certainly SWIG bindings, but I haven't looked). I've been using Python 2.6 for a while and although I'm now on Subversion 1.6.x, I would have had 1.5.x installed before.

Finding them is going to be dependent upon the OS, packaging system, etc; none of which are mentioned.

Did you install from source? Did you install a package? Does your OS's packaging system split off the interpreted-language bindings from the package itself? Eg, on FreeBSD you would have a py26-subversion port/package in /usr/ports/devel/py-subversion. On Debian/Ubuntu, you're looking for the "python-subversion" package.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.