the ycmd server shut down (restart with ':ycmrestartserver')

发布于:2023-03-12 ⋅ 阅读:(243) ⋅ 点赞:(0)

安装YouCompleteMe问题

按照YouCompleteMe的步骤安装之后发现报错信息如下:

The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected exit code -6

原因

本人设置了python的路径为conda安装的python路径,所以导致以上问题,应使用自己安装的python编译

解决办法

cd ~/.vim/bundle/YouCompleteMe/YouCompleteMe/third_party/ycmd

/usr/local/bin/python3 build.py

网站公告

今日签到

点亮在社区的每一天
去签到