What issue?

The ycmd server SHUT DOWN (restart with ‘:YcmRestartServer’). Unexpected exit code -11.

Try fix

./install.py --clang-completer
cd ~/.vim/bundle/YouCompleteMe/third_party/ycmd
cd ycmd
cp default_settings.json ..
python ycmd --options_file default_settings
python3 ./build.py

Not working.

When reading source code, i found out the build.py uses sysconfig

I try to add pdb.set_trace() in the first line of function GetPossiblePythonLibraryDirectories.

In pdb shell p sysconfig.get_config_var(“LIBPL”), result show path is fault, not mine.

I try hard code absolute path in GetPossiblePythonLibraryDirectories, but no working.


Anyway, in ycm issues i found out miniconda3 has conflict issue.

so try:

rm -rf miniconda3
python3 install.py

Well, it’s working.

Environment implicit is evil, explicit is better than implicit.