{"action":"created","issue":{"url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/526","repository_url":"https://api.github.com/repos/davidhalter/jedi-vim","labels_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/526/labels{/name}","comments_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/526/comments","events_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/526/events","html_url":"https://github.com/davidhalter/jedi-vim/issues/526","id":126515291,"number":526,"title":"jedi-vim failed to initialize Python: \":py/py3 import jedi\" gives \"ImportError: cannot import name 'settings'\"","user":{"login":"MadWombat","id":242806,"avatar_url":"https://avatars.githubusercontent.com/u/242806?v=3","gravatar_id":"","url":"https://api.github.com/users/MadWombat","html_url":"https://github.com/MadWombat","followers_url":"https://api.github.com/users/MadWombat/followers","following_url":"https://api.github.com/users/MadWombat/following{/other_user}","gists_url":"https://api.github.com/users/MadWombat/gists{/gist_id}","starred_url":"https://api.github.com/users/MadWombat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MadWombat/subscriptions","organizations_url":"https://api.github.com/users/MadWombat/orgs","repos_url":"https://api.github.com/users/MadWombat/repos","events_url":"https://api.github.com/users/MadWombat/events{/privacy}","received_events_url":"https://api.github.com/users/MadWombat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/davidhalter/jedi-vim/labels/need-information","name":"need-information","color":"d4c5f9"},{"url":"https://api.github.com/repos/davidhalter/jedi-vim/labels/not-reproducible","name":"not-reproducible","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":47,"created_at":"2016-01-13T21:11:47Z","updated_at":"2016-03-18T21:17:41Z","closed_at":null,"body":"I get the following error every time I start VIM\r\n```\r\nError: jedi-vim failed to initialize Python: jedi#setup_py_version: Vim(py3file):Traceback (most recent call last): (in function jedi#init_python[3]..<SNR>72_init_python[50]..jedi\r\n#setup_py_version, line 18)\r\n```\r\n\r\nI am running on Mac OS X El Captain 10.11.2. Vim is version 7.4.1063, python is version 3.4.3. Jedi is 0.9.0. Both python and vim are installed using brew, vim is installed using --with-python3 flag. :py3 command works, but trying to do :py3 import jedi results in the following\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"/Users/wombat/.vim/bundle/jedi-vim/jedi/jedi/__init__.py\", line 41, in <module>\r\n    from jedi.api import Script, Interpreter, NotFoundError, set_debug_function\r\n  File \"/Users/wombat/.vim/bundle/jedi-vim/jedi/jedi/api/__init__.py\", line 16, in <module>\r\n    from jedi.parser import Parser, load_grammar\r\n  File \"/Users/wombat/.vim/bundle/jedi-vim/jedi/jedi/parser/__init__.py\", line 21, in <module>\r\n    from jedi.parser import tree as pt\r\n  File \"/Users/wombat/.vim/bundle/jedi-vim/jedi/jedi/parser/tree.py\", line 39, in <module>\r\n    from jedi import cache\r\n  File \"/Users/wombat/.vim/bundle/jedi-vim/jedi/jedi/cache.py\", line 30, in <module>\r\n    from jedi import settings\r\nImportError: cannot import name 'settings'\r\n```\r\n\r\nI tried reinstalling everything and re-installing vim with `env vi_cv_path_python=/usr/local/bin/python3 brew install --force vim --with-python3` command as was suggested in a similar issue.\r\n\r\nHere is :version output for more info.\r\n```\r\n:version\r\nVIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 13 2016 15:58:04)\r\nMacOS X (unix) version\r\nIncluded patches: 1-1063\r\nCompiled by Homebrew\r\nHuge version without GUI.  Features included (+) or not (-):\r\n+acl             +cmdline_info    +emacs_tags      -hangul_input    +menu            +mouse_xterm     +python3         +syntax          +virtualedit     -xsmp\r\n+arabic          +comments        +eval            +iconv           +mksession       +multi_byte      +quickfix        +tag_binary      +visual          -xterm_clipboard\r\n+autocmd         +conceal         +ex_extra        +insert_expand   +modify_fname    +multi_lang      +reltime         +tag_old_static  +visualextra     -xterm_save\r\n-balloon_eval    +cryptv          +extra_search    +jumplist        +mouse           -mzscheme        +rightleft       -tag_any_white   +viminfo         -xpm\r\n-browse          +cscope          +farsi           +keymap          -mouseshape      +netbeans_intg   +ruby            -tcl             +vreplace\r\n++builtin_terms  +cursorbind      +file_in_path    +langmap         +mouse_dec       +path_extra      +scrollbind      +terminfo        +wildignore\r\n+byte_offset     +cursorshape     +find_in_path    +libcall         -mouse_gpm       +perl            +signs           +termresponse    +wildmenu\r\n+cindent         +dialog_con      +float           +linebreak       -mouse_jsbterm   +persistent_undo +smartindent     +textobjects     +windows\r\n-clientserver    +diff            +folding         +lispindent      +mouse_netterm   +postscript      -sniff           +title           +writebackup\r\n+clipboard       +digraphs        -footer          +listcmds        +mouse_sgr       +printer         +startuptime     -toolbar         -X11\r\n+cmdline_compl   -dnd             +fork()          +localmap        -mouse_sysmouse  +profile         +statusline      +user_commands   -xfontset\r\n+cmdline_hist    -ebcdic          -gettext         -lua             +mouse_urxvt     -python          -sun_workshop    +vertsplit       -xim\r\n   system vimrc file: \"$VIM/vimrc\"\r\n     user vimrc file: \"$HOME/.vimrc\"\r\n 2nd user vimrc file: \"~/.vim/vimrc\"\r\n      user exrc file: \"$HOME/.exrc\"\r\n  fall-back for $VIM: \"/usr/local/share/vim\"\r\nCompilation: /usr/bin/clang -c -I. -Iproto -DHAVE_CONFIG_H   -F/usr/local/Frameworks -DMACOS_X_UNIX  -Os -w -pipe -march=native -mmacosx-version-min=10.11 -U_FORTIFY_SOURCE -D_FOR\r\nTIFY_SOURCE=1\r\nLinking: /usr/bin/clang   -L. -fstack-protector -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib  -L/usr/local/lib -F/usr/local/Frameworks -\r\nWl,-headerpad_max_install_names -o vim        -lm  -lncurses -liconv -framework Cocoa   -fstack-protector  -L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl  -L/u\r\nsr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/config-3.4m -lpython3.4m -framework CoreFoundation  -lruby.2.2.0 -lobjc -L/usr/local/Cellar/\r\nruby/2.2.3/lib\r\n```"},"comment":{"url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/comments/198545764","html_url":"https://github.com/davidhalter/jedi-vim/issues/526#issuecomment-198545764","issue_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/526","id":198545764,"user":{"login":"tony","id":26336,"avatar_url":"https://avatars.githubusercontent.com/u/26336?v=3","gravatar_id":"","url":"https://api.github.com/users/tony","html_url":"https://github.com/tony","followers_url":"https://api.github.com/users/tony/followers","following_url":"https://api.github.com/users/tony/following{/other_user}","gists_url":"https://api.github.com/users/tony/gists{/gist_id}","starred_url":"https://api.github.com/users/tony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tony/subscriptions","organizations_url":"https://api.github.com/users/tony/orgs","repos_url":"https://api.github.com/users/tony/repos","events_url":"https://api.github.com/users/tony/events{/privacy}","received_events_url":"https://api.github.com/users/tony/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T21:17:41Z","updated_at":"2016-03-18T21:17:41Z","body":"I have colorama 0.3.3 in the virtualenv. However jedi seemed to care more about the colorama in my ``~/.local`` site-packages (0.3.6)\r\n\r\nUpgrading to 0.3.7 fixed. Just like @Congee "}}