更新 vim8.0 和 macvim 后, youcompleteme 出错

2016-09-13 20:10:01 +08:00
 toddlt

YouCompleteMe unavailable: dlopen(/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/ Versions/2.7/lib/python2.7/lib-dynload/_io.so, 2): Symbol not found: __PyCodecInfo_GetIncremen talDecoder Referenced from: /usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/li b/python2.7/lib-dynload/_io.so Expected in: flat namespace in /usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib -dynload/_io.so

8477 次点击
所在节点    Vim
23 条回复
toddlt
2016-09-22 15:38:10 +08:00
@tracyone 嗯,确实,多谢
fyooo
2016-09-26 13:49:25 +08:00
@chemzqm 港真,我暂时找找不到比 Neovim+Deoplete 更好的组合了
skywind3000
2016-10-26 05:12:17 +08:00
brew install 出来的 vim 和 macvim 编译选项有问题,自己到 YouCompleteMe 官网看,有这段说明,
推荐直接下载 MacVim ,然后手工安装,然后命令行版本:

https://github.com/Valloric/YouCompleteMe#im-trying-to-use-a-homebrew-vim-with-ycm-and-im-getting-segfaults

```
Question: I'm trying to use a Homebrew Vim with YCM and I'm getting segfaults

Answer: Something (I don't know what) is wrong with the way that Homebrew configures and builds Vim. I recommend using MacVim. Even if you don't like the MacVim GUI, you can use the Vim binary that is inside the MacVim.app package (it's MacVim.app/Contents/MacOS/Vim) and get the Vim console experience.
```

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/306022

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX