software:
Windows 7 64bit
vim https://tuxproject.de/projects/vim/
I built YouCompleteMe with Visual Studio 2015, CMake 3.6.0, clang 3.8.1, python 2.7.12.
The vim shows error message: YouCompleteMe unavailable: [Error 2].

I didn't find anything about this error on google.
please help me.
Type the :messages command and paste the output.
Thank you very much, I made a mistake.
Is the issue resolved then?
I guess it is.
Yes, it's my mistake, I write a wrong path to variable g:ycm_path_to_python_interpreter,
in Windows, it should be something like 'C:/software/Python27/python',
not '/usr/bin/python'
@zhaochenyou
hi~
I have a error too.but i don't know how to solve it,can you help me?
the error messages :

maybe the path should be like 'let g:ycm_path_to_python_interpreter="C:/Python27/python.exe"',not 'let g:ycm_path_to_python_interpreter="C:\Python27\python.exe"',I used '/' instead of '\' and it worked
@gwy1995 You can use \ but you have to escape them:
let g:ycm_path_to_python_interpreter = "C:\\Python27\\python.exe"
Also, the g:ycm_path_to_python_interpreter option is deprecated. You should use g:ycm_server_python_interpreter instead.
Most helpful comment
@gwy1995 You can use
\but you have to escape them:Also, the
g:ycm_path_to_python_interpreteroption is deprecated. You should useg:ycm_server_python_interpreterinstead.