简体   繁体   English

带python插件的vim在macOS High Sierra上崩溃

[英]vim with python plugins crashes on macOS high sierra

After upgrading to macOS high sierra, vim began to crash with the plugins need python. 升级到macOS high sierra后,vim开始崩溃,插件需要python。 I am getting the below error whenever i activated a python plugin. 每当我激活python插件时,我都会收到以下错误。 For example, i use tern for vim for javascript files. 例如,我将tern用于vim用于javascript文件。 When i activate this plugin, vim opens successfully but it crashes when i open a javascript file. 当我激活此插件时,vim成功打开,但在打开javascript文件时崩溃。

I have reinstall vim and python with brew. 我已经用brew重新安装了vim和python。 It did not work. 这没用。 I have also build vim from source, it did not work either. 我也从源代码构建了vim,它也不起作用。

Vim: Caught deadly signal SEGV Vim:收到致命信号SEGV

I had vim crashing after a brew upgrade which also upgraded the python version. brew upgrade后,vim崩溃了,该brew upgrade还升级了python版本。 Reinstallation did not help, but reinstalling all the plugins (and therefore updating them) did help. 重新安装没有帮助,但是重新安装所有插件(并因此更新它们)确实有所帮助。
Especially rebuilding YouCompleteMe was key. 特别是重建YouCompleteMe是关键。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM