youcompleteme原话:On Ubuntu 16.04, Python support was not working due to enabling both Python2 and Python3. Read answer by chirinosky for workaround.
第一个回答这个问题的:
解决办法:在编译的时候只选择python3支持, 或者只选择python2支持.
原因:
1.debian禁止了在同一进程同时加载libpython2和libpython3的库
2.debian不喜欢python动态加载库的机制(python-dyn这个)