sillybun / vim-repl

Best REPL environment for Vim
GNU General Public License v2.0
446 stars 39 forks source link

Where should I place msys-python3.12.dll on the path Using Gitbash #157

Open yelled1 opened 2 months ago

yelled1 commented 2 months ago

Describe the bug vim is launched with (min_env) alive@z370xpW11:/c/wPrj/GitIt/WinSetup [master %=]$ /usr/bin/vim /c/Prj/tst.py

When I turn on repl it's fine with Python for gitbash vim, but when I attempt to run individual lines, I get

Error detected while processing function repl#SendCurrentLine[26]..repl#EndWith[1]..repl#ReverseStr: line 4: E370: Could not load library msys-python3.12.dll: No such process E263: Sorry, this command is disabled, the Python library could not be loaded.

But line is executed in repl

Screenshots image

Also when launching repl I get image In [6]: %autoindent Automatic indentation is: ON
msgs

Desktop (please complete the following information): Windows 11 Professional version with git version 2.46.0.windows.1 (This is NOT SDK version w/ pacman)

Additional context I found the missing DLL msys-python3.12.dll at https://packages.msys2.org/package/python And put in it to: /usr/bin/msys-python3.12.dll One of the directory in path C:\Users\alive\scoop\apps\miniconda3\current\scripts\msys-python3.12.dll C:\Users\alive\scoop\apps\miniconda3\current\Library\bin\msys-python3.12.dll And none of them worked

btw: If I use regular Windows11 vim.exe. This does NOT happen, as likely this one was compiled with all the Python support.