I downloaded gVim73_46.exe from the official VIM.org website and installed it with its full components, and I develop using Python 3.2 (but would settle for 3.1 if it's more likely to work with VIM).
Running vim --version command gives me a -python -python3 result. However, running :echo has("python") in Vim gives a 1 (True). Does that mean my Vim is built to support Python 2 or not?
As for Python 3, running :py3 commands gives E370: Could not load library python31.dll. Does that mean it's built to support Python 3.1? If yes, can I make it use my 3.2?
If no, is there any source I can obtain precompiled Windows binaries that support Python 3 (+python3)?
From :help python3:
Vim can be built in four ways (:version output):
1. No Python support (-python, -python3)
2. Python 2 support only (+python or +python/dyn, -python3)
3. Python 3 support only (-python, +python3 or +python3/dyn)
4. Python 2 and 3 support (+python/dyn, +python3/dyn)
When Python 2 and Python 3 are both supported they must be loaded dynamically.
running :py3 commands gives E370: Could not load library python31.dll. Does that mean it's built to support Python 3.1?
Yes. If you get python 3.1 and set your path correctly, vim should have python.
can I make it use my 3.2?
No, vim is compiled to expect a certain interface, so you need a matching library.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With