You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: jedi-vim failed to initialize Python: jedi#setup_py_version: Vim(pyfile):Traceback (most recent call last): (in function jedi#init_python..<SNR>76_init_python..jedi#setup_py_version, line 18)
when i use :py import jedi in vim, i get error below:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/jedi/__init__.py", line 39, in <module>
from jedi.api import Script, Interpreter, NotFoundError, set_debug_function
File "/usr/lib/python2.7/dist-packages/jedi/api/__init__.py", line 18, in <module>
from jedi.parser import Parser
File "/usr/lib/python2.7/dist-packages/jedi/parser/__init__.py", line 21, in <module>
from jedi import debug
File "/usr/lib/python2.7/dist-packages/jedi/debug.py", line 17, in <module>
init()
File "/usr/local/lib/python2.7/dist-packages/colorama/initialise.py", line 37, in init
wrap_stream(orig_stdout, convert, strip, autoreset, wrap)
File "/usr/local/lib/python2.7/dist-packages/colorama/initialise.py", line 76, in wrap_stream
convert=convert, strip=strip, autoreset=autoreset)
File "/usr/local/lib/python2.7/dist-packages/colorama/ansitowin32.py", line 67, in __init__
strip = conversion_supported or (not wrapped.closed and not is_a_tty(wrapped))
AttributeError: closed
" jedi-vim
let g:jedi#use_tabs_not_buffers = 0
" let g:jedi#use_splits_not_buffers = "left"
let g:jedi#goto_assignments_command = "<leader>g"
let g:jedi#goto_definitions_command = "<leader>b"
let g:jedi#documentation_command = "<leader>d"
let g:jedi#usages_command = "<leader>u"
let g:jedi#completions_command = "<C-Space>"
let g:jedi#rename_command = "<leader>r"
let g:jedi#show_call_signatures = "1"
The text was updated successfully, but these errors were encountered:
blueyed
changed the title
[Linux x64] [VIM 7.4] jedi-vim failed to initialize Python
jedi-vim failed to initialize Python: "AttributeError: closed" through colorama
Jan 22, 2016
when i use vim-jedi, i get error below:
when i use
:py import jedi
in vim, i get error below:my vim
:ver
:my local jedi-vim version:
python
sys.path
in vim:my vimrc:
The text was updated successfully, but these errors were encountered: