--- pygments_parser.py.orig 2017-01-07 23:22:40.000000000 +0900 +++ pygments_parser.py 2017-03-11 20:54:28.266765014 +0900 @@ -238,7 +238,10 @@ p = subprocess.Popen("gtags --config=ctagscom", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) if p.wait() == 0: - path = p.stdout.readline().rstrip() + if sys.version_info < (3,): + path = p.stdout.readline().rstrip() + else: + path = io.TextIOWrapper(p.stdout, encoding='latin1').readline().rstrip() return path def main():