vim ConqueTerm运行bpython LookupError

时间:2012-08-26 16:01:48

标签: bash vim bpython

我正在尝试在我的VIM ConqueTerm中运行bpython,但是我收到了以下错误:

    Traceback (most recent call last):stebin  <F9> Pager  <F2> Show Source
  File "/usr/local/bin/bpython", line 8, in <module>
    load_entry_point('bpython==0.10.1', 'console_scripts', 'bpython')()
  File "/Library/Python/2.7/site-packages/bpython/cli.py", line 1756, in main
    banner=banner)
  File "/Library/Python/2.7/site-packages/bpython/cli.py", line 1658, in curses_wrapper
    return func(stdscr, *args, **kwargs)
  File "/Library/Python/2.7/site-packages/bpython/cli.py", line 1708, in main_curses
    clirepl = CLIRepl(main_win, interpreter, statusbar, config, idle)
  File "/Library/Python/2.7/site-packages/bpython/cli.py", line 261, in __init__
    repl.Repl.__init__(self, interp, config)
  File "/Library/Python/2.7/site-packages/bpython/repl.py", line 355, in __init__
    self.rl_history.load(pythonhist, getpreferredencoding())
  File "/Library/Python/2.7/site-packages/bpython/repl.py", line 208, in load
    with codecs.open(filename, 'r', encoding, 'ignore') as hfile:
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py", line 884, in open
    info = lookup(encoding)
LookupError: unknown encoding:

我正在使用MacVim和Bash。

0 个答案:

没有答案