我在 Mavericks 上安装 Ultisnips 和 YouCompleteMe 真是太糟糕了。我已经 brew 安装了 python,然后是 vim。我的 vim 大部分时间都在工作,但是在尝试启用这两个插件时,python 错误永远不会结束。
像:
Error detected while processing function UltiSnips#bootstrap#Bootstrap:
line 35:
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File"/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
我已经通过谷歌搜索阅读了所有我能读到的内容,但这场战斗似乎比与山狮的战斗要困难得多。
我的 .vimrc 在这里:https ://github.com/nobleach/dotfiles/blob/master/.vimrc
我现在已经注释掉了这两个有问题的插件(是的,我知道我有冲突的绑定,我只使用一个)