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.
  • 2
    Welcome to Vi and Vim! You might have more luck asking on ycm's issue tracker, but I hope one of our community experts can answer your question
    – D. Ben Knoble
    Nov 1, 2019 at 14:55
  • Have you found any solution yet ?
    – AP2008
    Aug 28, 2020 at 10:59
  • 1
    @AP2008 answers are not for comments on the question. If you don’t have the rep to comment, you may earn it through other use of the site. Welcome to Vi and Vim!
    – D. Ben Knoble
    Aug 28, 2020 at 12:29


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.