davidhalter / jedi-vim

Using the jedi autocompletion library for VIM.
MIT License
5.27k stars 370 forks source link

python extension on arch linux #1047

Closed mftzk closed 3 years ago

mftzk commented 3 years ago

Issue

hello, i have problem when i open file with extension *.py the error look like this

Error detected while processing BufNewFile Autocommands for "*.py"..FileType Autocommands for "*"..function <SNR>10_LoadFTPlugin[17]..script /home/aji/.vim/bundle/jedi-vim/ftplugin/python/jedi.vim[1]../home/aji/.vim/bundle/jedi-vim/autoload/jedi.vim[258]..function jedi#init_python[13]..BufNewFile Autocommands for "*.py"..FileType Autocommands for "*"..function <SNR>10_LoadFTPlugin[17]..script /home/aji/.vim/bundle/jedi-vim/ftplugin/python/jedi.vim[1]../home/aji/.vim/bundle/jedi-vim/autoload/jedi.vim[258]..function jedi#init_python[11]..<SNR>80_display_exception:
line   19:
Error: jedi-vim failed to initialize Python: jedi-vim requires Vim with support for Python 3. (in BufNewFile Autocommands for line 36:
E117: Unknown function: jedi#configure_call_signatures

Steps to reproduce

im just following this tutorial, and i think there is any dependencies update

https://dev.to/shahinsha/how-to-make-vim-a-python-ide-best-ide-for-python-23e1

my python3 plugin is available but why?? image

when i try

echo has("python")
1

echo has("python3")
0

thank you:)

davidhalter commented 3 years ago

Python 2 is not supported anymore.

I'm not sure which operating system you are using, but I would probably recommend removing your current VIM and Python3 and reinstalling it (with the latest versions). I hope that helps.