On Mon, Aug 30, 2010 at 07:37, Feng WANG <wangf...@ipp.ac.cn> wrote: > Hi all > > > > I have installed the subversion 1.6.12 (r955767) on > centos5.5, and integrated the subversion into apache httpd service, and I > can visit the repos using http protocol from internet explorer. > > Then I want to view the repos source code online, so I installed the ViewVC > 1.1.6. Then I modified the viewvc.conf as follows > > > > svn_roots = svnrepos: /var/svn/repos > > root_parents = /var/svn : svn > > > > when I visit viewvc using explorer, error message displayed as follows. > > > > > > An Exception Has Occurred > > Python Traceback > > > > Traceback (most recent call last): > > File "/usr/local/viewvc-1.2-dev/lib/viewvc.py", line 4443, in main > > request.run_viewvc() > > File "/usr/local/viewvc-1.2-dev/lib/viewvc.py", line 398, in run_viewvc > > self.view_func(self) > > File "/usr/local/viewvc-1.2-dev/lib/viewvc.py", line 1860, in view_roots > > allroots = list_roots(request) > > File "/usr/local/viewvc-1.2-dev/lib/viewvc.py", line 4300, in list_roots > > cfg.utilities, cfg.options.svn_config_dir) > > File "/usr/local/viewvc-1.2-dev/lib/vclib/svn/__init__.py", line 53, in > SubversionRepository > > import svn_repos > > File "/usr/local/viewvc-1.2-dev/lib/vclib/svn/svn_repos.py", line 24, in ? > > from svn import fs, repos, core, client, delta > > ImportError: No module named svn > > > > > > I have also installed viewvc1.1.3, the same errors occurred. > > > > Does anyone know the reason? Many thanks.
Always read your error messages. > ImportError: No module named svn You either haven't installed the Python bindings, or have installed them to a place which Python isn't looking in.