配置vim插件遇到youcompleteme插件问题解决方案

本文介绍了在Opensuse系统中配置vim及其插件YouCompleteMe时遇到的问题及解决方法。包括如何确保vim支持Python2.x并解决cm_client_support相关问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天在Opensuse下配置vim 遇到两个问题

配置插件找到一个很好的博客。学到一些有用技巧

http://hahaya.github.io/2013/07/26/use-vundle.html

 

但是遇到两个问题 一个是

YouCompleteMe unavailable: requires Vim compiled with Python 2.x support

解决办法

http://stackoverflow.com/questions/3373914/compiling-vim-with-python-support

 

就是安装

zypper ar http://download.opensuse.org/repositories/editors/openSUSE_11.4 editors
zypper in vim-enhanced
zypper in vim-enhanced-7.3-112.1.x86_64
vim-enhanced on openSUSE is compiled with +python. vim-enhanced from the standard openSUSE repo crashed when trying :python print 'hello' in vim.
The compiled version from the editors repo worked for me without crashing.

我只执行了 zypper in vim-enhanced 就解决了 但是,又出现新问题,打开vim出现
cm_client_support.[so|pyd|dll] and ycm_core.[so|pyd|dll] not detected; you need to compile YCM before using it. Read the docs!
解决方案
cd ~/.vim/bundle/YouCompleteMe 
./install.sh --clang-completer

搞定 原帖 http://www.cnblogs.com/ziyouchutuwenwu/archive/2013/12/23/3488193.html


转载于:https://www.cnblogs.com/or2-/p/3495636.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值