Solveddeoplete.nvim [deoplete] neovim-python 0.2.4+ is required.^@


Problems summary

When I open vim, I get this error: [deoplete] neovim-python 0.2.4+ is required.^@ and deoplete does not function.

I tried to install vim-json and updated my plugins, so perhaps that is what killed deoplete.

It is worth noting that I use vim8 and not neovim.

Environment Information


$ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jan 29 2018 18:38:42)
macOS version
Included patches: 1-1400
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl               +farsi             +mouse_sgr         -tag_any_white
+arabic            +file_in_path      -mouse_sysmouse    -tcl
+autocmd           +find_in_path      +mouse_urxvt       +termguicolors
-autoservername    +float             +mouse_xterm       +terminal
-balloon_eval      +folding           +multi_byte        +terminfo
+balloon_eval_term -footer            +multi_lang        +termresponse
-browse            +fork()            -mzscheme          +textobjects
++builtin_terms    -gettext           +netbeans_intg     +timers
+byte_offset       -hangul_input      +num64             +title
+channel           +iconv             +packages          -toolbar
+cindent           +insert_expand     +path_extra        +user_commands
-clientserver      +job               +perl              +vertsplit
+clipboard         +jumplist          +persistent_undo   +virtualedit
+cmdline_compl     +keymap            +postscript        +visual
+cmdline_hist      +lambda            +printer           +visualextra
+cmdline_info      +langmap           +profile           +viminfo
+comments          +libcall           -python            +vreplace
+conceal           +linebreak         +python3           +wildignore
+cryptv            +lispindent        +quickfix          +wildmenu
+cscope            +listcmds          +reltime           +windows
+cursorbind        +localmap          +rightleft         +writebackup
+cursorshape       -lua               +ruby              -X11
+dialog_con        +menu              +scrollbind        -xfontset
+diff              +mksession         +signs             -xim
+digraphs          +modify_fname      +smartindent       -xpm
-dnd               +mouse             +startuptime       -xsmp
-ebcdic            -mouseshape        +statusline        -xterm_clipboard
+emacs_tags        +mouse_dec         -sun_workshop      -xterm_save
+eval              -mouse_gpm         +syntax
+ex_extra          -mouse_jsbterm     +tag_binary
+extra_search      +mouse_netterm     +tag_old_static
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Linking: clang   -L. -fstack-protector -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib  -L/usr/local/lib -o vim        -lncurses -liconv -framework AppKit   -mmacosx-version-min=10.13 -fstack-protector-strong -L/usr/local/lib  -L/usr/local/Cellar/perl/5.26.1/lib/perl5/5.26.1/darwin-thread-multi-2level/CORE -lperl -lm -lutil -lc  -L/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/config-3.6m-darwin -lpython3.6m -framework CoreFoundation  -lruby.2.5.0 -lobjc

Provide a minimal init.vim/vimrc with less than 50 lines (Required!)

" Allow vim to break compatibility with vi
set nocompatible " This must be first, because it changes other options
filetype plugin indent on " Turns on 'file detection', 'plugin', and 'indent'
runtime macros/matchit.vim " allows % to match pairs of things better e.g. do-end
set shell=zsh " Set shell to zsh when running shell from vim

" All of the plugins are included in this file.
source $DOTFILES/.vim/plug.vim

" Vim settings
set expandtab                   "insert spaces instead of tabs
set shiftwidth=2
" set softtabstop=-1              "use shiftwidth as softtabstop
set softtabstop=0              "use shiftwidth as softtabstop
set wrap linebreak
set number                      "line numbers on the lefthand side
set clipboard+=unnamed
set smartindent                 "auto indent/dedent

" indentLine plugin
let g:indentLine_color_term = 239
let g:indentLine_color_gui = '#09AA08'
let g:indentLine_char = '¦'
let g:indentLine_enabled = 1

" deoplete auto-complete plugin
let g:deoplete#enable_at_startup = 1
" <TAB>: completion.
inoremap <expr><TAB>  pumvisible() ? "\<C-n>" : "\<TAB>"
" fix colors
highlight Pmenu ctermbg=8 guibg=#606060
highlight PmenuSel ctermbg=1 guifg=#dddd00 guibg=#1f82cd
highlight PmenuSbar ctermbg=0 guibg=#d6d6d6

" Disable Deoplete when selecting multiple cursors starts
function! Multiple_cursors_before()
  if exists('*deoplete#disable')
    exe 'call deoplete#disable()'
  elseif exists(':NeoCompleteLock') == 2
    exe 'NeoCompleteLock'

" Enable Deoplete when selecting multiple cursors ends
function! Multiple_cursors_after()
  if exists('*deoplete#enable')
    exe 'call deoplete#enable()'
  elseif exists(':NeoCompleteUnlock') == 2
    exe 'NeoCompleteUnlock'

And then my plugins:

" Specify a directory for plugins
" Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.vim/plugged')

Plug 'tpope/vim-rails', { 'for': 'ruby' } " hover over most words and gf to jump to the definition
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-commentary' " gcc to comment out a line
Plug 'tpope/vim-surround'   " cs'<q> changes 'Hello World' to <q>Hello World</q>. ds<q> will remove the tags
Plug 'tpope/vim-repeat'     " plugins support . command
Plug 'terryma/vim-multiple-cursors' " <C-n> highlights a word and then <C-n> again highlights the next one. c to change text. <C-p> to go back. <C-x> to remove current highlight
Plug 'vim-ruby/vim-ruby', { 'for': 'ruby' }
Plug 'thoughtbot/vim-rspec', { 'for': 'ruby' }
" Plug 'elzr/vim-json'
Plug 'Yggdroot/indentLine' " Adds lines showing indentation
Plug 'scrooloose/nerdtree' " NerdTree file explorer
Plug 'rodjek/vim-puppet' " Helps with working with Puppet
Plug 'JamshedVesuna/vim-markdown-preview' " press <C-p> to preview markdown in a browser

" auto completion
Plug 'Shougo/deoplete.nvim'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'

" colorschemes
Plug 'rakr/vim-one'
Plug 'tomasiser/vim-code-dark'
Plug 'colepeters/spacemacs-theme.vim'
Plug 'yuttie/hydrangea-vim'

" Fuzzy finding
" Plug 'ctrlpvim/ctrlp.vim'
Plug '/usr/local/opt/fzf'
Plug 'junegunn/fzf.vim'

" Initialize plugin system
call plug#end()

The reproduce ways from Vim starting (Required!)

  1. Open file
  2. See error
16 Answers

✔️Accepted Answer

Please update neovim-python client.

$ pip3 install neovim --upgrade

Other Answers:

Also, can I donate money to contribute to deoplete's development?

Please donate to neovim development instead.

@jonathandion And what is the your error? I cannot reproduce the problem.
Workaround: You should disable parallel feature.

let g:deoplete#num_processes = 1

Related Issues:

deoplete.nvim [deoplete] neovim-python 0.2.4+ is required.^@
Please update neovim-python client. Problems summary When I open vim ...
mycli Chinese can't display properly
@yibingyi I think you're going to want to enable UTF-8 in your terminal locale settings: If that wor...
neovim build fails with OSX Mojave
Starting with Mojave the headers are no longer installed under /usr/include/ by default -- look unde...
neovim Build failed with Homebrew on both macOS 11.4 and 12.0.1
This should be fixed in Homebrew for now Neovim version (nvim -v) Upgrading neovim HEAD-487286b -> H...
coc.nvim compiled javascript file not found
It's not an issue with Vundle I removed it and installed vim-plug and got the same issue With Vundle...
neovim Update tree-sitter to v0.19.0
Workaround for homebrew users: Uninstall tree-sitter@0.19.1 ignoring neovim dependency Extract the f...
coc.nvim How to scroll Documentation that opened with SHIFT+K
An alternative I recently discovered was to open the documentation popup with shift+k then I switch ...
coc.nvim CocAction('doHover') floating windows are not always closed
You can press <C-w>o to close other windows I will fix this issue. Result from CocInfo :CocInfo vers...
neovim homebrew build fails to start (segfault in libtermkey 0.21)
EDITOR=/usr/bin/vim brew edit libtermkey edit the URL to libtermkey-0.20.tar.gz and the hash to 6c0d...
coc.nvim Add option to use FZF instead of Denite
@chemzqm With all due respect I think this issue should be reopened Currently I don't have enough ti...
neovim Feature: optional floating window borders
This works for me Not sure why but it does. #6619 Added floating windows but no way to create a bord...
nvim lspconfig tsserver doesn't startup
omfg I just had to install typescript globally npm install -g typescript Not sure why the package do...
coc.nvim Question: Is it possible to configure CocInstall?
@LandonSchropp I just started using coc and bumped into the same problem Is your feature request rel...
neovim Failed to load python host
@brycearden I had that same issue as yours later I found out that pip and pip3 were both aliased to ...
neovim Pip already installed neovim but module not found
Try pip uninstalling both neovim and pynvim and then reinstalling just pynvim -- that worked for me ...
neovim cannot copy unicode characters
I had a similar problem: when copying texts letters with accents were swapped by other characters (e...
neovim E886: System error while opening ShaDa file for writing: no such file or directory
I got this error on elementaryOS 5.1 Neovim v0.2.2 nvim --version: v0.4.0-609 Vim (version: ) behave...
coc.nvim Help with gopls
@lanox workAround: add the full path to your gopls in the cocConfig json.. here: ...
neovim snap package
Snaps have a few features that I don't think you'd get from appimage The neovim developers should co...
neovim Weird characters in terminal after 0.2.1
For anyone using ppa:neovim-ppa/unstable you can work around it with :set guicursor= ...
coc.nvim Organize Imports on save?
@ooesili If you add silent in front of the 'call' then the error will not be reported but the import...
coc.nvim vim-easymotion disturbs diagnostics
i use TextChanged to disable coc temporarily Describe the bug Don't know if this bug should be repor...
telescope.nvim telescope-fzf-writer.nvim fails after the merge of #709
@tami5 -.- you legit just jinxed it I don't know whats wrong with writer sorry (i have never used it...
neovim treesitter/highlighter.lua:145: end_col value outside range
This has been a consistent many different filetype problem for the last 5 HEADs I've tried over the ...
telescope.nvim Grep not working
Do you have rg executable? live_grep uses vimgrep_arguments in config See Telescope Defaults. ...
coc.nvim Change coc warn and error in lightline
Thanks a lot @oblitum ! These are the bits I copied from your config to style the signs if anyone el...
neovim Weird printing to terminal in v0.4.2 homebrew build: "Copying oldrow=0 to newrow=60" etc
Should be fixed (along with the memory leak issue) in libvterm 0.1.1 now at
nvim lspconfig [gopls] run editor.action.organizeImports on save.
This is correct I can reproduce it If you look at it I'm struggling to figure out how to make an aut...
neovim macOS Catalina 10.15 search tag appear "E432: Tags file not sorted"
FYI I've received the response from Apple Hi Dmitry nvim --version: NVIM v0.4.2 Build type: Release ...
telescope.nvim Telescope buffers should allow ordering by most recent buffer
We already have a bunch of options for builtin.buffers: show_all_buffers ignore_current_buffer only_...
NvChad Cheatsheet doesn't open; Err: plenary.nvim not installed
I fixed this issue with: Update Chad: <leader> + uu Delete ~/.config/nvim/plugin nvim +PackerSync :P...
neovim Lua vim.o.expandtab not working
Hmm nvim_set_option(expandtab) is executed but has no effect (perhaps it sets the default for new bu...
keras Loading model with custom loss function: ValueError: 'Unknown loss function'
I solved this problem by adding 'custom_bojects' my loss function: I trained and saved a model that ...
scrapy ' error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 '
@euler16 for scrapy with Python 3 you'll need with Python 2 you'll need I wanted to install scrapy i...
keras Tensorflow backend - bug in model._make_predict_function(...)
I had this problem when doing inference in a different thread than where I loaded my model ...
mysqlclient Can't install mysqlclient on MacOS
You can set ssl library path explicitly. Hi I'm on MacOSX Sierra ...
keras Creating Model variable throws "AttributeError: 'Tensor' object has no attribute '_keras_history'"
@zaid478 oh I assumed you were doing it on coursera Anyway Hello all setup: Keras 2.0 Tensorflow 1.0...
tensorflow ImportError: cannot open shared object file: No such file or directory
@rhinsall I just found this out myself not sure if it's common knowledge but got around this by doin...
ipython Last jedi release (0.18.0) is incompatible with ipython (7.19 and 7.18 tested); reason - column arg was deprecated, and now removed
As a temporary fix for anyone just trying to get things working again: It would be really nice if yo...
pyodbc pip install pyodbc failing: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
src/pyodbc.h:56:17: fatal error: sql.h: No such file or directory #include <sql.h> ^ Your machine do...
keras "<tensor> is not an element of this graph." when loading model.
I had a problem similar to that of @piraka9011 which was solved by calling model._make_predict_funct...
psycopg2 psycopg2-binary fails to install on macOS Big Sur 11.0.1 and Python 3.9.0 (with possible workaround)
Actually figured it out Haven't worked on a Mac in a while and forgot about the PostgreSQL dependenc...
pytorch I can't import PyTorch, libomp.dylib can't be loaded.
brew install libomp solves the problem. 🐛 Bug I tried to install PyTorch but I can't use it ...
pytorch RuntimeError: cuda runtime error (59) : device-side assert triggered when running transfer_learning_tutorial
@soumith Hi I find the error it is due to my labels contain value -1 which is unacceptable in criter...
Zappa bad magic number in 'application': b'\x03\xf3\r\n': ImportError
I was able to fix this too by doing find -name \*.pyc -delete Mine definitely wasn't caused by PY2 -...
tensorflow At Runtime : "Error while reading resource variable softmax/kernel from Container: localhost"
I had the same issue in tensorflow 1.13.1 which I have resolved by creating a reference to the sessi...
tensorflow Mac + Python 3.6.1: Attempting to download mnist data results in CERTIFICATE_VERIFY_FAILED error
This might have also been because I recently switched to a new machine and it's still only partially...
pyenv WARNING: pyenv init - no longer sets PATH.
I saw the same message on an RH derivative Linux using bash 4.4.19 To resolve After running pyenv up...
pyenv unable to install python 3.8.0 on macox 11
Try to install brew reinstall zlib bzip2 and in the ~/.zshrc file add the following: in case you are...