davidhalter / jedi-vim

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

Error when opening any python files after Anaconda update. #1083

Closed ubaldot closed 2 years ago

ubaldot commented 2 years ago

I am running on Windows 10 and I have updated to Anaconda 64-bit which installed also Python 3.9.12. Now, whenever I open a.py file, I get this error

image

Install Anaconda 64-bit that has Python 3.9.12.

I also tried to re-install the plugin but the problem is still there. According to the debug info below, I miss python39.dll but in-fact it is there. It follows the debug output:

Jedi-vim debug information

jedi-vim version
Global Python

Using Python version 3 to access Jedi. Error when trying to import vim: Vim(python3):E370: Could not load library C:\Users\yt75534\Anaconda3\python39.dll: [NULL] python3 failed to run, likely a Python config issue.

Settings
g:jedi#completions_command = '<tab>' (default: '<C-Space>')
g:jedi#environment_path = 'base' (default: 'auto')
g:jedi#show_call_signatures = '2' (default: 1)

  omnifunc=ale#completion#OmniFunc
    Last set from ~\.vimrc line 69
  completeopt=menuone,longest,preview
    Last set from ~\vimfiles\bundle\jedi-vim\plugin\jedi.vim line 36

:version


VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 21 2021 22:12:47)
MS-Windows 32-bit GUI version with OLE support
Included patches: 1-3452
Compiled by appveyor@APPVYR-WIN
Huge version with GUI.  Features included (+) or not (-):
+acl                +cindent            +cursorshape        -farsi              +job                +menu               +packages           +reltime            -sun_workshop       -tgetent            +vreplace
+arabic             +clientserver       +dialog_con_gui     +file_in_path       +jumplist           +mksession          +path_extra         +rightleft          +syntax             +timers             -vtp
+autocmd            +clipboard          +diff               +find_in_path       +keymap             +modify_fname       +perl/dyn           +ruby/dyn           +tag_binary         +title              +wildignore
+autochdir          +cmdline_compl      +digraphs           +float              +lambda             +mouse              +persistent_undo    +scrollbind         -tag_old_static     +toolbar            +wildmenu
+autoservername     +cmdline_hist       +directx            +folding            +langmap            +mouseshape         +popupwin           +signs              -tag_any_white      +user_commands      +windows
+balloon_eval       +cmdline_info       -dnd                -footer             +libcall            +multi_byte_ime/dyn -postscript         +smartindent        +tcl/dyn            +vartabs            +writebackup
-balloon_eval_term  +comments           -ebcdic             +gettext/dyn        +linebreak          +multi_lang         +printer            -sodium             -termguicolors      +vertsplit          -xfontset
+browse             +conceal            +emacs_tags         -hangul_input       +lispindent         +mzscheme/dyn       +profile            +sound              +terminal           +virtualedit        -xim
++builtin_terms     +cryptv             +eval               +iconv/dyn          +listcmds           +netbeans_intg      +python/dyn         +spell              -termresponse       +visual             +xpm_w32
+byte_offset        +cscope             +ex_extra           +insert_expand      +localmap           +num64              +python3/dyn        +startuptime        +textobjects        +visualextra        -xterm_save
+channel            +cursorbind         +extra_search       +ipv6               +lua/dyn            +ole                +quickfix           +statusline         +textprop           +viminfo            
   system vimrc file: "$VIM\vimrc"
     user vimrc file: "$HOME\_vimrc"
 2nd user vimrc file: "$HOME\vimfiles\vimrc"
 3rd user vimrc file: "$VIM\_vimrc"
      user exrc file: "$HOME\_exrc"
  2nd user exrc file: "$VIM\_exrc"
  system gvimrc file: "$VIM\gvimrc"
    user gvimrc file: "$HOME\_gvimrc"
2nd user gvimrc file: "$HOME\vimfiles\gvimrc"
3rd user gvimrc file: "$VIM\_gvimrc"
       defaults file: "$VIMRUNTIME\defaults.vim"
    system menu file: "$VIMRUNTIME\menu.vim"
Compilation: cl -c /W3 /GF /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32  -DFEAT_CSCOPE -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL -DFEAT_IPV6   -DFEAT_XPM_W32     -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 /source-charset:utf-8 /MP -DHAVE_STDINT_H /Ox /GL -DNDEBUG /arch:IA32 /Zl /MT /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE -DFEAT_OLE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_GUI_MSWIN -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl86t.dll\" -DDYNAMIC_TCL_VER=\"8.6\" -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua53.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"python39.dll\" -DFEAT_MZSCHEME -I "C:\Program Files (x86)\Racket\include" -DMZ_PRECISE_GC -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"libracket3m_a36fs8.dll\" -DDYNAMIC_MZGC_DLL=\"libracket3m_a36fs8.dll\" -DFEAT_PERL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl528.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"msvcrt-ruby240.dll\" -DRUBY_VERSION=24 -DFEAT_HUGE /Fd.\ObjGXOULYHTRZi386/ /Zi
Linking: link  /nologo /opt:ref /LTCG:STATUS oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib  comdlg32.lib ole32.lib netapi32.lib uuid.lib /machine:i386 gdi32.lib version.lib   winspool.lib comctl32.lib advapi32.lib shell32.lib netapi32.lib  /machine:i386  libcmt.lib oleaut32.lib user32.lib  /nodefaultlib:lua53.lib  /STACK:8388608  /nodefaultlib:python27.lib /nodefaultlib:python39.lib   "C:\Tcl\lib\tclstub86.lib" winmm.lib WSock32.lib Ws2_32.lib xpm\x86\lib-vc14\libXpm.lib /PDB:gvim.pdb -debug

:messages

Messages maintainer: Bram Moolenaar <Bram@vim.org>
"C:\VAS\tools\scripts\logData\Python\LogDataExtractionScript.py" [unix] 175L, 6673B
Error detected while processing BufRead Autocommands for "*.py"..FileType Autocommands for "*"..function <SNR>10_LoadFTPlugin[17]..script C:\Users\yt75534\vimfiles\bundle\jedi-vim\ftplugin\python\jedi.vim[1]..C:\Users\yt75534\vimfiles\bundle\jedi-vim\autoload\jedi.vim[260]..function jedi#init_python[13]..BufRead Autocommands for "*.py"..FileType Autocommands for "*"..function <SNR>10_LoadFTPlugin[17]..script C:\Users\yt75534\vimfiles\bundle\jedi-vim\ftplugin\python\jedi.vim[1]..C:\Users\yt75534\vimfiles\bundle\jedi-vim\autoload\jedi.vim[260]..function jedi#init_python[11]..<SNR>96_display_exception:
line   19:
Error: jedi-vim failed to initialize Python: jedi-vim requires Vim with support for Python 3. (in BufRead Autocommands for "*.py"..FileType Autocommands for "*"..function <SNR>10_LoadFTPlugin[17]..script C:\Users\yt75534\vimfiles\bundle\jedi-vim\ftplugin\python\jedi.vim[1]..C:\Users\yt75534\vimfiles\bundle\jedi-vim\autoload\jedi.vim[260]..function jedi#init_python[4]..<SNR>96_init_python, line 4)
Error detected while processing BufRead Autocommands for "*.py"..FileType Autocommands for "*"..function <SNR>10_LoadFTPlugin[17]..script C:\Users\yt75534\vimfiles\bundle\jedi-vim\ftplugin\python\jedi.vim:
line   36:
E117: Unknown function: jedi#configure_call_signatures
"~\.vimrc" 267L, 10709B
:scriptnames ``` 1: ~\.vimrc 2: C:\Program Files (x86)\Vim\vim82\colors\desert.vim 3: C:\Program Files (x86)\Vim\vim82\ftoff.vim 4: ~\vimfiles\bundle\Vundle.vim\autoload\vundle.vim 5: ~\vimfiles\bundle\Vundle.vim\autoload\vundle\config.vim 6: ~\vimfiles\filetype.vim 7: C:\Program Files (x86)\Vim\vim82\filetype.vim 8: C:\Program Files (x86)\Vim\vim82\menu.vim 9: C:\Program Files (x86)\Vim\vim82\autoload\paste.vim 10: C:\Program Files (x86)\Vim\vim82\ftplugin.vim 11: C:\Program Files (x86)\Vim\vim82\indent.vim 12: C:\Program Files (x86)\Vim\vim82\macros\matchit.vim 13: C:\Program Files (x86)\Vim\vim82\pack\dist\opt\matchit\plugin\matchit.vim 14: C:\Program Files (x86)\Vim\vim82\syntax\syntax.vim 15: C:\Program Files (x86)\Vim\vim82\syntax\synload.vim 16: C:\Program Files (x86)\Vim\vim82\syntax\syncolor.vim 17: ~\vimfiles\bundle\nerdtree\plugin\NERD_tree.vim 18: ~\vimfiles\bundle\nerdtree\autoload\nerdtree.vim 19: ~\vimfiles\bundle\nerdtree\lib\nerdtree\path.vim 20: ~\vimfiles\bundle\nerdtree\lib\nerdtree\menu_controller.vim 21: ~\vimfiles\bundle\nerdtree\lib\nerdtree\menu_item.vim 22: ~\vimfiles\bundle\nerdtree\lib\nerdtree\key_map.vim 23: ~\vimfiles\bundle\nerdtree\lib\nerdtree\bookmark.vim 24: ~\vimfiles\bundle\nerdtree\lib\nerdtree\tree_file_node.vim 25: ~\vimfiles\bundle\nerdtree\lib\nerdtree\tree_dir_node.vim 26: ~\vimfiles\bundle\nerdtree\lib\nerdtree\opener.vim 27: ~\vimfiles\bundle\nerdtree\lib\nerdtree\creator.vim 28: ~\vimfiles\bundle\nerdtree\lib\nerdtree\flag_set.vim 29: ~\vimfiles\bundle\nerdtree\lib\nerdtree\nerdtree.vim 30: ~\vimfiles\bundle\nerdtree\lib\nerdtree\ui.vim 31: ~\vimfiles\bundle\nerdtree\lib\nerdtree\event.vim 32: ~\vimfiles\bundle\nerdtree\lib\nerdtree\notifier.vim 33: ~\vimfiles\bundle\nerdtree\autoload\nerdtree\ui_glue.vim 34: ~\vimfiles\bundle\nerdtree\nerdtree_plugin\exec_menuitem.vim 35: ~\vimfiles\bundle\nerdtree\nerdtree_plugin\fs_menu.vim 36: ~\vimfiles\bundle\nerdtree\nerdtree_plugin\vcs.vim 37: ~\vimfiles\bundle\ale\plugin\ale.vim 38: ~\vimfiles\bundle\ale\autoload\ale\balloon.vim 39: ~\vimfiles\bundle\ale\autoload\ale\completion.vim 40: ~\vimfiles\bundle\ale\autoload\ale\code_action.vim 41: ~\vimfiles\bundle\ale\autoload\ale\events.vim 42: ~\vimfiles\bundle\jedi-vim\plugin\jedi.vim 43: ~\vimfiles\bundle\vim-slime\plugin\slime.vim 44: ~\vimfiles\bundle\supertab\plugin\supertab.vim 45: ~\vimfiles\bundle\vim-airline\plugin\airline.vim 46: ~\vimfiles\bundle\vim-airline\autoload\airline\init.vim 47: ~\vimfiles\bundle\vim-airline\autoload\airline\parts.vim 48: ~\vimfiles\bundle\vim-airline\autoload\airline\formatter\short_path.vim 49: ~\vimfiles\bundle\vim-airline\autoload\airline\util.vim 50: ~\vimfiles\bundle\vim-repl\plugin\default.vim 51: ~\vimfiles\bundle\vim-repl\plugin\vim-repl.vim 52: ~\vimfiles\bundle\helpme-vim\plugin\helpme.vim 53: C:\Program Files (x86)\Vim\vim82\plugin\getscriptPlugin.vim 54: C:\Program Files (x86)\Vim\vim82\plugin\gzip.vim 55: C:\Program Files (x86)\Vim\vim82\plugin\logiPat.vim 56: C:\Program Files (x86)\Vim\vim82\plugin\manpager.vim 57: C:\Program Files (x86)\Vim\vim82\plugin\matchparen.vim 58: C:\Program Files (x86)\Vim\vim82\plugin\netrwPlugin.vim 59: C:\Program Files (x86)\Vim\vim82\plugin\rrhelper.vim 60: C:\Program Files (x86)\Vim\vim82\plugin\spellfile.vim 61: C:\Program Files (x86)\Vim\vim82\plugin\tarPlugin.vim 62: C:\Program Files (x86)\Vim\vim82\plugin\tohtml.vim 63: C:\Program Files (x86)\Vim\vim82\plugin\vimballPlugin.vim 64: C:\Program Files (x86)\Vim\vim82\plugin\zipPlugin.vim 65: ~\vimfiles\bundle\ale\autoload\ale.vim 66: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions.vim 67: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\quickfix.vim 68: ~\vimfiles\bundle\vim-airline\autoload\airline.vim 69: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\netrw.vim 70: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\term.vim 71: ~\vimfiles\bundle\vim-airline\autoload\airline\section.vim 72: ~\vimfiles\bundle\vim-airline\autoload\airline\highlighter.vim 73: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\ale.vim 74: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\whitespace.vim 75: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\wordcount.vim 76: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline.vim 77: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\autoshow.vim 78: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\tabs.vim 79: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\buffers.vim 80: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\keymap.vim 81: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\searchcount.vim 82: ~\vimfiles\bundle\vim-airline\autoload\airline\themes\dark.vim 83: ~\vimfiles\bundle\vim-airline\autoload\airline\themes.vim 84: ~\vimfiles\bundle\vim-airline\autoload\airline\builder.vim 85: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\default.vim 86: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\ctrlspace.vim 87: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\tabws.vim 88: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\builder.vim 89: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\buflist.vim 90: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\formatters\unique_tail.vim 91: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\formatters\default.vim 92: ~\vimfiles\bundle\ale\autoload\ale\engine.vim 93: ~\vimfiles\bundle\ale\autoload\ale\statusline.vim 94: ~\vimfiles\bundle\vim-flake8\ftplugin\python_flake8.vim 95: ~\vimfiles\bundle\jedi-vim\ftplugin\python\jedi.vim 96: ~\vimfiles\bundle\jedi-vim\autoload\jedi.vim 97: ~\vimfiles\bundle\vim-slime\ftplugin\python\slime.vim 98: ~\vimfiles\bundle\vim-repl\ftplugin\python\python-repl.vim 99: C:\Program Files (x86)\Vim\vim82\ftplugin\python.vim 100: ~\vimfiles\bundle\jedi-vim\after\ftplugin\python\jedi.vim 101: C:\Program Files (x86)\Vim\vim82\indent\python.vim 102: C:\Program Files (x86)\Vim\vim82\syntax\python.vim 103: ~\vimfiles\bundle\jedi-vim\after\syntax\python.vim 104: ~\vimfiles\bundle\ale\autoload\ale\util.vim 105: ~\vimfiles\bundle\ale\autoload\ale\linter.vim 106: ~\vimfiles\bundle\ale\ale_linters\python\bandit.vim 107: ~\vimfiles\bundle\ale\ale_linters\python\cspell.vim 108: ~\vimfiles\bundle\ale\autoload\ale\handlers\cspell.vim 109: ~\vimfiles\bundle\ale\ale_linters\python\flake8.vim 110: ~\vimfiles\bundle\ale\ale_linters\python\flakehell.vim 111: ~\vimfiles\bundle\ale\ale_linters\python\jedils.vim 112: ~\vimfiles\bundle\ale\ale_linters\python\mypy.vim 113: ~\vimfiles\bundle\ale\ale_linters\python\prospector.vim 114: ~\vimfiles\bundle\ale\ale_linters\python\pycodestyle.vim 115: ~\vimfiles\bundle\ale\ale_linters\python\pydocstyle.vim 116: ~\vimfiles\bundle\ale\ale_linters\python\pyflakes.vim 117: ~\vimfiles\bundle\ale\ale_linters\python\pylama.vim 118: ~\vimfiles\bundle\ale\ale_linters\python\pylint.vim 119: ~\vimfiles\bundle\ale\ale_linters\python\pylsp.vim 120: ~\vimfiles\bundle\ale\ale_linters\python\pyre.vim 121: ~\vimfiles\bundle\ale\ale_linters\python\pyright.vim 122: ~\vimfiles\bundle\ale\ale_linters\python\unimport.vim 123: ~\vimfiles\bundle\ale\ale_linters\python\vulture.vim 124: ~\vimfiles\bundle\ale\autoload\ale\command.vim 125: ~\vimfiles\bundle\ale\autoload\ale\python.vim 126: ~\vimfiles\bundle\ale\autoload\ale\path.vim 127: ~\vimfiles\bundle\ale\autoload\ale\history.vim 128: ~\vimfiles\bundle\ale\autoload\ale\sign.vim 129: ~\vimfiles\bundle\ale\autoload\ale\list.vim 130: ~\vimfiles\bundle\ale\autoload\ale\highlight.vim 131: ~\vimfiles\bundle\ale\autoload\ale\cursor.vim 132: C:\Program Files (x86)\Vim\vim82\scripts.vim 133: C:\Program Files (x86)\Vim\vim82\ftplugin\vim.vim 134: C:\Program Files (x86)\Vim\vim82\indent\vim.vim 135: C:\Program Files (x86)\Vim\vim82\syntax\vim.vim 136: ~\vimfiles\bundle\ale\ale_linters\vim\ale_custom_linting_rules.vim 137: ~\vimfiles\bundle\ale\ale_linters\vim\vimls.vim 138: ~\vimfiles\bundle\ale\ale_linters\vim\vint.vim 139: ~\vimfiles\bundle\ale\autoload\ale\lsp_linter.vim ```
ubaldot commented 2 years ago

Update

I thougth the problem could be due to that the Anacondainstallation is 64-bit whereas my Vim82 is 32-bit. So, I installed the 64-bit version of Vim. The problem persists, but the error is different. May that be because Vim has been compiled with Python 3.10.3 library whereas the Python39.dll that I have is based on Python 3.9.12? Anyway, here is the DebugInfolog

Jedi-vim debug information

jedi-vim version
Global Python

Using Python version 3 to access Jedi. Error when trying to import vim: Vim(python3):E1266: Critical error in python3 initialization, check your python3 installation python3 failed to run, likely a Python config issue.

Settings
g:jedi#completions_command = '<tab>' (default: '<C-Space>')
g:jedi#environment_path = 'base' (default: 'auto')
g:jedi#show_call_signatures = '2' (default: 1)

  omnifunc=python3complete#Complete
    Last set from C:\Vim64\ftplugin\python.vim line 42
  completeopt=menuone,longest,preview
    Last set from ~\vimfiles\bundle\jedi-vim\plugin\jedi.vim line 36

:version


VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 11 2022 10:46:04)
MS-Windows 64-bit GUI/console version with OLE support
Included patches: 1-4732
Compiled by knurr@BITLOGIC
Huge version with GUI.  Features included (+) or not (-):
+acl                +cursorbind         +insert_expand      +netbeans_intg      +sound              +vertsplit
+arabic             +cursorshape        +ipv6               +num64              +spell              +vim9script
+autocmd            +dialog_con_gui     +job                +ole                +startuptime        +viminfo
+autochdir          +diff               +jumplist           +packages           +statusline         +virtualedit
+autoservername     +digraphs           +keymap             +path_extra         -sun_workshop       +visual
+balloon_eval       +directx            +lambda             +perl/dyn           +syntax             +visualextra
+balloon_eval_term  -dnd                +langmap            +persistent_undo    +tag_binary         +vreplace
+browse             -ebcdic             +libcall            +popupwin           -tag_old_static     +vtp
++builtin_terms     +emacs_tags         +linebreak          -postscript         -tag_any_white      +wildignore
+byte_offset        +eval               +lispindent         +printer            +tcl/dyn            +wildmenu
+channel            +ex_extra           +listcmds           +profile            +termguicolors      +windows
+cindent            +extra_search       +localmap           +python/dyn         +terminal           +writebackup
+clientserver       -farsi              +lua/dyn            +python3/dyn        -termresponse       -xfontset
+clipboard          +file_in_path       +menu               +quickfix           +textobjects        -xim
+cmdline_compl      +find_in_path       +mksession          +reltime            +textprop           +xpm_w32
+cmdline_hist       +float              +modify_fname       +rightleft          -tgetent            -xterm_save
+cmdline_info       +folding            +mouse              +ruby/dyn           +timers             
+comments           -footer             +mouseshape         +scrollbind         +title              
+conceal            +gettext/dyn        +multi_byte_ime/dyn +signs              +toolbar            
+cryptv             -hangul_input       +multi_lang         +smartindent        +user_commands      
+cscope             +iconv/dyn          +mzscheme/dyn       +sodium/dyn         +vartabs            
   system vimrc file: "$VIM\vimrc"
     user vimrc file: "$HOME\_vimrc"
 2nd user vimrc file: "$HOME\vimfiles\vimrc"
 3rd user vimrc file: "$VIM\_vimrc"
      user exrc file: "$HOME\_exrc"
  2nd user exrc file: "$VIM\_exrc"
  system gvimrc file: "$VIM\gvimrc"
    user gvimrc file: "$HOME\_gvimrc"
2nd user gvimrc file: "$HOME\vimfiles\gvimrc"
3rd user gvimrc file: "$VIM\_gvimrc"
       defaults file: "$VIMRUNTIME\defaults.vim"
    system menu file: "$VIMRUNTIME\menu.vim"
Compilation: cl -c /W3 /GF /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32  -DFEAT_CSCOPE -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL -DFEAT_IPV6   -DFEAT_XPM_W32 -DHAVE_SODIUM -DDYNAMIC_SODIUM -DDYNAMIC_SODIUM_DLL=\"libsodium.dll\" /I "..\..\libs\libsodium-1.0.18\include" -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 /source-charset:utf-8 /MP -DHAVE_STDINT_H /Ox /GL -DNDEBUG /MD /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE -DVIMDLL -DFEAT_OLE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_GUI_MSWIN -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl86t.dll\" -DDYNAMIC_TCL_VER=\"8.6\" -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua54.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"python310.dll\" -DFEAT_MZSCHEME -I "..\..\libs\racket-8.3\include" -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"libracketxxxxxxx.dll\" -DDYNAMIC_MZGC_DLL=\"libmzgcxxxxxxx.dll\" -DFEAT_PERL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl532.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"x64-ucrt-ruby310.dll\" -DRUBY_VERSION=31 -DFEAT_HUGE /Fd.\ObjDXOULYHTRZVAMD64/ /Zi
Linking: link /nologo /opt:ref /LTCG:STATUS /HIGHENTROPYVA:NO oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib  comdlg32.lib ole32.lib netapi32.lib uuid.lib user32.lib  /machine:AMD64 version.lib  winspool.lib comctl32.lib  msvcrt.lib oleaut32.lib  /nodefaultlib:lua54.lib  /STACK:8388608  /nodefaultlib:python27.lib /nodefaultlib:python310.lib   "C:\tcl-64\lib\tclstub86.lib" winmm.lib WSock32.lib Ws2_32.lib .\xpm\x64\lib-vc14\libXpm.lib /PDB:vim64.pdb -debug

:messages

Messages maintainer: Bram Moolenaar <Bram@vim.org>
"C:\VAS\tools\scripts\logData\Python\LogDataExtractionScript.py" [unix] 175L, 6673B
Error detected while processing BufRead Autocommands for "*.py"..FileType Autocommands for "*"..function <SNR>9_LoadFTPlugin[18]..script C:\Users\yt75534\vimfiles\bundle\jedi-vim\ftplugin\python\jedi.vim[1]..C:\Users\yt75534\vimfiles\bundle\jedi-vim\autoload\jedi.vim[260]..function jedi#init_python[13]..BufRead Autocommands for "*.py"..FileType Autocommands for "*"..function <SNR>9_LoadFTPlugin[18]..script C:\Users\yt75534\vimfiles\bundle\jedi-vim\ftplugin\python\jedi.vim[1]..C:\Users\yt75534\vimfiles\bundle\jedi-vim\autoload\jedi.vim[260]..function jedi#init_python[4]..<SNR>93_init_python[6]..jedi#setup_python_imports:
line   18:
E1266: Critical error in python3 initialization, check your python3 installation
Error detected while processing BufRead Autocommands for "*.py"..FileType Autocommands for "*"..function <SNR>9_LoadFTPlugin[18]..script C:\Users\yt75534\vimfiles\bundle\jedi-vim\ftplugin\python\jedi.vim:
line   36:
E117: Unknown function: jedi#configure_call_signatures
:scriptnames ``` 1: ~\.vimrc 2: C:\Vim64\colors\lists\default.vim 3: C:\Vim64\colors\desert.vim 4: C:\Vim64\ftoff.vim 5: ~\vimfiles\bundle\Vundle.vim\autoload\vundle.vim 6: ~\vimfiles\bundle\Vundle.vim\autoload\vundle\config.vim 7: ~\vimfiles\filetype.vim 8: C:\Vim64\filetype.vim 9: C:\Vim64\ftplugin.vim 10: C:\Vim64\indent.vim 11: C:\Vim64\macros\matchit.vim 12: C:\Vim64\pack\dist\opt\matchit\plugin\matchit.vim 13: C:\Vim64\syntax\syntax.vim 14: C:\Vim64\syntax\synload.vim 15: C:\Vim64\syntax\syncolor.vim 16: ~\vimfiles\bundle\nerdtree\plugin\NERD_tree.vim 17: ~\vimfiles\bundle\nerdtree\autoload\nerdtree.vim 18: ~\vimfiles\bundle\nerdtree\lib\nerdtree\path.vim 19: ~\vimfiles\bundle\nerdtree\lib\nerdtree\menu_controller.vim 20: ~\vimfiles\bundle\nerdtree\lib\nerdtree\menu_item.vim 21: ~\vimfiles\bundle\nerdtree\lib\nerdtree\key_map.vim 22: ~\vimfiles\bundle\nerdtree\lib\nerdtree\bookmark.vim 23: ~\vimfiles\bundle\nerdtree\lib\nerdtree\tree_file_node.vim 24: ~\vimfiles\bundle\nerdtree\lib\nerdtree\tree_dir_node.vim 25: ~\vimfiles\bundle\nerdtree\lib\nerdtree\opener.vim 26: ~\vimfiles\bundle\nerdtree\lib\nerdtree\creator.vim 27: ~\vimfiles\bundle\nerdtree\lib\nerdtree\flag_set.vim 28: ~\vimfiles\bundle\nerdtree\lib\nerdtree\nerdtree.vim 29: ~\vimfiles\bundle\nerdtree\lib\nerdtree\ui.vim 30: ~\vimfiles\bundle\nerdtree\lib\nerdtree\event.vim 31: ~\vimfiles\bundle\nerdtree\lib\nerdtree\notifier.vim 32: ~\vimfiles\bundle\nerdtree\autoload\nerdtree\ui_glue.vim 33: ~\vimfiles\bundle\nerdtree\nerdtree_plugin\exec_menuitem.vim 34: ~\vimfiles\bundle\nerdtree\nerdtree_plugin\fs_menu.vim 35: ~\vimfiles\bundle\nerdtree\nerdtree_plugin\vcs.vim 36: ~\vimfiles\bundle\ale\plugin\ale.vim 37: ~\vimfiles\bundle\ale\autoload\ale\completion.vim 38: ~\vimfiles\bundle\ale\autoload\ale\events.vim 39: ~\vimfiles\bundle\jedi-vim\plugin\jedi.vim 40: ~\vimfiles\bundle\vim-slime\plugin\slime.vim 41: ~\vimfiles\bundle\supertab\plugin\supertab.vim 42: ~\vimfiles\bundle\vim-airline\plugin\airline.vim 43: ~\vimfiles\bundle\vim-airline\autoload\airline\init.vim 44: ~\vimfiles\bundle\vim-airline\autoload\airline\parts.vim 45: ~\vimfiles\bundle\vim-airline\autoload\airline\formatter\short_path.vim 46: ~\vimfiles\bundle\vim-airline\autoload\airline\util.vim 47: ~\vimfiles\bundle\vim-repl\plugin\default.vim 48: ~\vimfiles\bundle\vim-repl\plugin\vim-repl.vim 49: ~\vimfiles\bundle\helpme-vim\plugin\helpme.vim 50: C:\Vim64\plugin\getscriptPlugin.vim 51: C:\Vim64\plugin\gzip.vim 52: C:\Vim64\plugin\logiPat.vim 53: C:\Vim64\plugin\manpager.vim 54: C:\Vim64\plugin\matchparen.vim 55: C:\Vim64\plugin\netrwPlugin.vim 56: C:\Vim64\plugin\rrhelper.vim 57: C:\Vim64\plugin\spellfile.vim 58: C:\Vim64\plugin\tarPlugin.vim 59: C:\Vim64\plugin\tohtml.vim 60: C:\Vim64\plugin\vimballPlugin.vim 61: C:\Vim64\plugin\zipPlugin.vim 62: ~\vimfiles\bundle\ale\autoload\ale.vim 63: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions.vim 64: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\quickfix.vim 65: ~\vimfiles\bundle\vim-airline\autoload\airline.vim 66: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\netrw.vim 67: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\term.vim 68: ~\vimfiles\bundle\vim-airline\autoload\airline\section.vim 69: ~\vimfiles\bundle\vim-airline\autoload\airline\highlighter.vim 70: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\ale.vim 71: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\whitespace.vim 72: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\wordcount.vim 73: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline.vim 74: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\autoshow.vim 75: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\tabs.vim 76: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\buffers.vim 77: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\keymap.vim 78: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\searchcount.vim 79: ~\vimfiles\bundle\vim-airline\autoload\airline\themes\dark.vim 80: ~\vimfiles\bundle\vim-airline\autoload\airline\themes.vim 81: ~\vimfiles\bundle\vim-airline\autoload\airline\builder.vim 82: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\default.vim 83: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\ctrlspace.vim 84: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\tabws.vim 85: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\builder.vim 86: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\buflist.vim 87: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\formatters\unique_tail.vim 88: ~\vimfiles\bundle\vim-airline\autoload\airline\extensions\tabline\formatters\default.vim 89: ~\vimfiles\bundle\ale\autoload\ale\engine.vim 90: ~\vimfiles\bundle\ale\autoload\ale\statusline.vim 91: ~\vimfiles\bundle\vim-flake8\ftplugin\python_flake8.vim 92: ~\vimfiles\bundle\jedi-vim\ftplugin\python\jedi.vim 93: ~\vimfiles\bundle\jedi-vim\autoload\jedi.vim 94: ~\vimfiles\bundle\vim-slime\ftplugin\python\slime.vim 95: ~\vimfiles\bundle\vim-repl\ftplugin\python\python-repl.vim 96: C:\Vim64\ftplugin\python.vim 97: ~\vimfiles\bundle\jedi-vim\after\ftplugin\python\jedi.vim 98: C:\Vim64\indent\python.vim 99: C:\Vim64\syntax\python.vim 100: ~\vimfiles\bundle\jedi-vim\after\syntax\python.vim 101: ~\vimfiles\bundle\ale\autoload\ale\util.vim 102: ~\vimfiles\bundle\ale\autoload\ale\linter.vim 103: ~\vimfiles\bundle\ale\ale_linters\python\bandit.vim 104: ~\vimfiles\bundle\ale\ale_linters\python\cspell.vim 105: ~\vimfiles\bundle\ale\autoload\ale\handlers\cspell.vim 106: ~\vimfiles\bundle\ale\ale_linters\python\flake8.vim 107: ~\vimfiles\bundle\ale\ale_linters\python\flakehell.vim 108: ~\vimfiles\bundle\ale\ale_linters\python\jedils.vim 109: ~\vimfiles\bundle\ale\ale_linters\python\mypy.vim 110: ~\vimfiles\bundle\ale\ale_linters\python\prospector.vim 111: ~\vimfiles\bundle\ale\ale_linters\python\pycodestyle.vim 112: ~\vimfiles\bundle\ale\ale_linters\python\pydocstyle.vim 113: ~\vimfiles\bundle\ale\ale_linters\python\pyflakes.vim 114: ~\vimfiles\bundle\ale\ale_linters\python\pylama.vim 115: ~\vimfiles\bundle\ale\ale_linters\python\pylint.vim 116: ~\vimfiles\bundle\ale\ale_linters\python\pylsp.vim 117: ~\vimfiles\bundle\ale\ale_linters\python\pyre.vim 118: ~\vimfiles\bundle\ale\ale_linters\python\pyright.vim 119: ~\vimfiles\bundle\ale\ale_linters\python\unimport.vim 120: ~\vimfiles\bundle\ale\ale_linters\python\vulture.vim 121: ~\vimfiles\bundle\ale\autoload\ale\command.vim 122: ~\vimfiles\bundle\ale\autoload\ale\python.vim 123: ~\vimfiles\bundle\ale\autoload\ale\path.vim 124: ~\vimfiles\bundle\ale\autoload\ale\history.vim 125: ~\vimfiles\bundle\ale\autoload\ale\sign.vim 126: ~\vimfiles\bundle\ale\autoload\ale\list.vim 127: ~\vimfiles\bundle\ale\autoload\ale\highlight.vim 128: ~\vimfiles\bundle\ale\autoload\ale\cursor.vim ```
davidhalter commented 2 years ago

May that be because Vim has been compiled with Python 3.10.3 library whereas the Python39.dll that I have is based on Python 3.9.12?

AFAIK it's not allowed to mix different Python versions like you are doing.

ubaldot commented 2 years ago

Oh ok. Then, I am grilled. I have to use 3.9.12 due to Anaconda and the gVim 64 that I manage to find has been built with 3.10.3 (and I don’t know how to find other versions).

davidhalter commented 2 years ago

There's probably another one around. But I have no idea and cannot really help since this is Windows. Just use Linux with a package manager and you're good :)

ubaldot commented 2 years ago

Unfortunately I cannot. It’s work laptop. 🤷‍♂️🙂 Thanks for the discussion anyway. 💪