我在小牛身上安装了Ultisnips和YouCompleteMe,真是太糟糕了。我已经酿造了安装了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
目前,我已经将这两个令人反感的插件(是的,我知道我有相互冲突的绑定,我只使用了一个)。
发布于 2014-05-28 13:01:51
对于其他遇到这些问题的人来说,真正有问题的是自制的python安装。需要强制使用已酿造的openssl分节:
brew install openssl
brew link openssl --force
brew uninstall python
brew install python --with-brewed-openssl应该能让事情重新开始。
发布于 2014-12-20 02:22:09
对我来说,在mac中用自制软件升级python之后,我重新安装了vim,使所有的东西都能工作。
brew uninstall vim
brew install vimhttps://stackoverflow.com/questions/23902081
复制相似问题