Fixed
Solved / Fixed :
1. Copied python311.dll, python3.dll, vcruntime140.dll in your distro path expand('$vim/extensions/python/x86')
2. Put this in your _vimrc
if has('win32')
var py3extenspath: string = expand('$vim/extensions/python/x86/')
if isdirectory( py3extenspath )
var py3dllpath = py3extenspath .. 'python311.dll'
if !filereadable(py3dllpath)
else
var pythonthree_homes: list<string> = system('where "python311.dll"')->split('\n')->filter('v:val =~ "extensions"')
py3dllpath = pythonthree_homes[0]->fnamemodify(':p:gs?\\?/?')
endif
execute 'set pythonthreehome=' .. py3extenspath
execute 'set pythonthreedll=' .. py3dllpath->fnamemodify(':p:gs?\\?/?')
endif
endif
3. Testing Py3 v3.11 interface
nnoremap <silent> <F8> :exec 'py3 import sys'<cr> :exec 'py3 print(''python3 hell working'')'<cr>