Floobits错误:没有neovim python模块

时间:2017-10-03 12:44:35

标签: vim neovim vundle

我尝试为floobits(https://floobits.com/help/plugins/nvim)安装Neovim插件,并在Vim中安装:PluginInstall后,我在标题中收到错误。谁能告诉我我做错了什么?这是我的~/.vimrc文件。

 set nocompatible              " be iMproved, required
 filetype off                  " required

 " set the runtime path to include Vundle and initialize
 set rtp+=~/.vim/bundle/Vundle.vim
 call vundle#begin()
 " alternatively, pass a path where Vundle should install plugins
 "call vundle#begin('~/some/path/here')

 " let Vundle manage Vundle, required
 Plugin 'VundleVim/Vundle.vim'
 Plugin 'floobits/floobits-neovim'

 " All of your Plugins must be added before the following line
 call vundle#end()            " required
 filetype plugin indent on    " required
 " To ignore plugin indent changes, instead use:
 "filetype plugin on
 "
 " Brief help
 " :PluginList       - lists configured plugins
 " :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate
 " :PluginSearch foo - searches for foo; append `!` to refresh local cache
 " :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal
 "
 " see :h vundle for more details or wiki for FAQ
 " Put your non-Plugin stuff after this line

 ...
 ...
 ...
 (The rest of the file is the same as here
 https://github.com/amix/vimrc/blob/master/vimrcs/basic.vim
 with the adition of the lines below at the end)

 " Configura arquivos html e javascript para identacao com 2 espacos
 autocmd FileType htmldjango setlocal sw=2 sts=2 et
 autocmd FileType javascript setlocal sw=2 sts=2 et

 " Configura linebreak automatico ao digitar a mensagem de commit
 autocmd FileType gitcommit set tw=72 colorcolumn=72

 " Desenha linha vertical vermelha em 110 caracteres para indicar limite
 autocmd FileType python setlocal textwidth=109 colorcolumn=110

 " Configura para mostrar o número das linhas
 set number

 " Permite circular pelas abas do vim usando Ctrl+Esquerda e Ctrl+Direita
 nnoremap <C-Left> :tabprevious<CR>
 nnoremap <C-Right> :tabnext<CR>

 " Aplicar PEP8 automaticamente a cada save dos arquivos python
 " 1) Instalar vim-pathogen (https://github.com/tpope/vim-pathogen - Aprox um package manager do vim):
 " mkdir -p ~/.vim/autoload ~/.vim/bundle && \
 " curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
 " 2) Instalar vim-flake8 dentro de ~/.vim/bundle (https://github.com/nvie/vim-flake8)
 " cd ~/.vim/bundle && \
 " git clone https://github.com/nvie/vim-flake8.git
 " 3) pip install flake8
 execute pathogen#infect()
 autocmd BufWritePost *.py call Flake8()

我创建了从~/.vimrc~/.config/nvim/init.vim的符号链接,根据https://github.com/neovim/neovim/wiki/FAQ#where-should-i-put-my-config-vimrc,您只需创建一个从当前.vimrc到该路径的符号链接。

在使用Vundle之前,我还使用病原体作为vim包管理器,并且已经运行

pip install neovim
pip3 install neovim
pip install neovim
pip3 install neovim

2次:一次用于python虚拟环境,另一次用于全局,以及用于python 2和3。

1 个答案:

答案 0 :(得分:0)

尝试以:checkhealth作为起点。

我的输出告诉我我安装了Py3模块,但没有安装Py2模块。

尝试:

pip2 install floobits

,然后重新启动nvim