As an extension (follow-up question) of the answer here:
If you type
:version, you should see
+python3/dyn. On Windows, this means that Vim is compiled to dynamically load the Python DLL. You can read about this in
:h python-dyanmic. Depending on the versions you install, you may want to look at
If you install Python 3, keep in mind that you will need to verify it with
:echo has('python3'). Additionally, if you want to install both Python 2 and 3, you will want to read
I've checked the version settings and ensured the existence of both
+python3/dyn. I have the latest distribution of Python 3 (which, at this time, is 3.7.2), and have installed a 32-bit version of it so that it's compatible to my 32-bit gVim 8.1, as per the comment in the quoted answer:
Also be sure to use a 32-bit python with a 32-bit vim, or use a 64-bit version of both. If you mix them, vim will not be able to load the
However, even after several reboots and re-installations, the command
:echo has('python3') still returns
0. How can I make sure that Python 3 is supported on Vim?
I just wanted to use that YCM plugin...
set pythonthreedll=python37.dll. If that doesn't work use the full path.