Jedi-vim: Pythoncomplete does not work with python3

Created on 11 Oct 2016  路  4Comments  路  Source: davidhalter/jedi-vim

Issue

Pythoncomplete does not work with python3

Steps to reproduce

  1. Install jedi-vim with vim-plug package manager
  2. Import sys; sys.

at the "dot" after sys, VIM replies with error:

Error: Required vim compiled with +python
E117 Unknown function: pythoncomplete#Complete

Versions

  • jedi-vim: commit 9384d464eccfe8ff8a63393d622fafce0a4e7933
  • Vim / Neovim: VIM 7.4 +python3
  • Python: 3.5.2

In case you are not using jedi-vim from Git master, please test it there, too.

Output of the "JediDebugInfo" command (in a Python buffer)

Using Python version: 3

  • sys.version: 3.5.2 (default, Sep 10 2016, 08:21:44), [GCC 5.4.0 20160609]
  • site module: /usr/lib/python3.5/site.py
    Jedi path: /home/carlolo/.vim/plugged/jedi-vim/jedi/jedi/init.py
    Jedi version: 0.9.0
    jedi-vim git version: 9384d46
    jedi git submodule status: 995a6531225ba0b65e1ff863d97e5404d989047b jedi (v0.9.0-19-g995a653)

Output of the "messages" Vim command

Messages maintainer: Bram Moolenaar [email protected]
"rem.py" 4L, 57C
E117: Unknown function: pythoncomplete#Complete
E117: Unknown function: pythoncomplete#Complete

  • sys.version: 3.5.2 (default, Sep 10 2016, 08:21:44), [GCC 5.4.0 20160609]
  • site module: /usr/lib/python3.5/site.py
    Jedi path: /home/carlolo/.vim/plugged/jedi-vim/jedi/jedi/init.py
    Jedi version: 0.9.0
  • sys.version: 3.5.2 (default, Sep 10 2016, 08:21:44), [GCC 5.4.0 20160609]
  • site module: /usr/lib/python3.5/site.py
    Jedi path: /home/carlolo/.vim/plugged/jedi-vim/jedi/jedi/init.py
    Jedi version: 0.9.0

Output of "scriptnames" Vim command

Most helpful comment

pythoncomplete#Complete is not jedi-vim's completion function.
Something else is overwriting it probably.

Check :verb set omnifunc?.

Note to self: include this in :JediDebugInfo + settings.

All 4 comments

pythoncomplete#Complete is not jedi-vim's completion function.
Something else is overwriting it probably.

Check :verb set omnifunc?.

Note to self: include this in :JediDebugInfo + settings.

Oops, sorry about that, it was one of my configuration files not updated

For the records
omnifunc=pythoncomplete#Complete

thank you for the support

I have the same issue. What should I do? Could you please be more specific?

Please open a new ticket, you don't exactly have the same issue, some things have changed in jedi-vim.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mwesthelle picture mwesthelle  路  14Comments

MikeDacre picture MikeDacre  路  3Comments

zotroneneis picture zotroneneis  路  9Comments

lebster picture lebster  路  14Comments

lkhphuc picture lkhphuc  路  11Comments