Every time I open up gVim there is an error that says that Python is not supported. I have checked numerous websites and everything that I have tried does not seem to work. In my vimrc file, I have included the dll file directory and I have made sure that gVim and Python are both 64bit. I need python to work if I want to use the YouCompleteMe Plugin for Vim.
When I type echo has ('python3')
in vim it returns 0
instead of 1
.
Also when I type python3 print(1)
this is the error that pops up
E370: Could not load library C:\Users\nikhi\AppData\Local\Programs\Python\Python38\python38.dll
E263: Sorry, this command is disabled, the Python library could not be loaded.```
vim --version
gives you options, Vim was compiled with. If it has no +python3 option in the output, then nothing you can do, except recompile or find one which was compiled with this option.set pythondll=...
restart gvim and show output ofecho &pythondll
andecho &pythonthreedll
?