I am trying to get YCM working on Windows 10.

  • Vim version: 8.1 64-bit GUI
  • Since I'm using the regular gvim installer for Windows I have python support
  • Compiler flags as follows:
Linking: link  /nologo /opt:ref /LTCG:STATUS oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib  comdlg32.lib ole32.lib netapi32.lib uuid.lib /machine:AMD64   libcmt.lib  user32.lib  /nodefaultlib:lua53.lib  /STACK:8388608
/nodefaultlib:python27.lib /nodefaultlib:python37.lib   "C:\Tcl\lib\tclstub86.lib" winmm.lib WSock32.lib /PDB:vim.pdb -debug
  • Python3.7 installed to C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64
  • Python37.dll is present in the same folder as python.exe
  • :echo has('python3') returns 1
  • YCM was installed as follows:
python install.py --clang-completer --ts-completer --cs-completer
  • No error during YCM installation
  • YCM Logs shows:
Traceback (most recent call last):
 File "C:\Users\<user>\.vim\bundle\YouCompleteMe\third_party\ycmd\ycmd\utils.py", line 639, in ImportAndCheckCore
   ycm_core = ImportCore()
 File "C:\Users\<user>\.vim\bundle\YouCompleteMe\third_party\ycmd\ycmd\utils.py", line 630, in ImportCore
   import ycm_core as ycm_core
ImportError: DLL load failed: The specified module could not be found.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.