Linux

ImportError: No module named svn.core

Naan 2017. 6. 28. 10:03
320x100

An Exception Has Occurred

Python Traceback

Traceback (most recent call last):
  File "/usr/local/viewvc-1.1.26/lib/viewvc.py", line 4855, in main
    request.run_viewvc()
  File "/usr/local/viewvc-1.1.26/lib/viewvc.py", line 408, in run_viewvc
    self.view_func(self)
  File "/usr/local/viewvc-1.1.26/lib/viewvc.py", line 2207, in view_roots
    expand_root_parents(request.cfg)
  File "/usr/local/viewvc-1.1.26/lib/viewvc.py", line 4732, in expand_root_parents
    roots = vclib.svn.expand_root_parent(pp)
  File "/usr/local/viewvc-1.1.26/lib/vclib/svn/__init__.py", line 76, in expand_root_parent
    roots[rootname] = canonicalize_rootpath(rootpath)
  File "/usr/local/viewvc-1.1.26/lib/vclib/svn/__init__.py", line 39, in canonicalize_rootpath
    rootpath = _canonicalize_path(rootpath)
  File "/usr/local/viewvc-1.1.26/lib/vclib/svn/__init__.py", line 23, in _canonicalize_path
    import svn.core
ImportError: No module named svn.core

subversion-python 설치가 안되서 뜨는 에러이다.

# yum install subversion-python 설치해주자.


320x100