Re: Python 311 call fails

2021-11-02 Thread Ni Va
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

Re: Python 311 call fails

2021-11-02 Thread Ni Va
* if has('win32')* * if isdirectory( expand('$vim/extensions/python/x86') )* * var pythonthree_homes: list = system('where "python311.dll"')->split('\n')->filter('v:val =~ "extensions"')* * execute 'set pythonthreedll=' .. pythonthree_homes[0]->fnamemodify(':p:gs?\\?/?')* * endif* *

Re: Python 311 call fails

2021-11-02 Thread Ni Va
* if has('win32')* * if isdirectory( expand('$vim/extensions/python/x86') )* * var pythonthree_homes: list = system('where "python311.dll"')->split('\n')->filter('v:val =~ "extensions"')* * execute 'set pythonthreedll=' .. pythonthree_homes[0]->fnamemodify(':p:gs?\\?/?')* * endif* *

Re: Python 311 call fails

2021-11-02 Thread Ni Va
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')* * if isdirectory( expand('$vim/extensions/python/x86') )* * var pythonthree_homes: list = system('where

Python 311 call fails

2021-10-27 Thread Ni Va
Hi, Got this error on pyhton3 print('foo') E370: Could not load library python311.dll: Le module spcifi est introuvable. E263: Sorry, this command is disabled, the Python library could not be loaded. This is my configuration 1) redir @a | echomsg system('where python311.dll') | redir END |