我不知道配置什么東西了,每次打開vim 常常提示這個按回車后能正常使用,我.vimrc為空沒配置東西
[xiaofang@Radiance vimfiles]$ vim archlinux.vim
Traceback (most recent call last):
File "<string>", line 9, in <module>
ImportError: No module named powerline.vim
An error occurred while importing powerline module.
This could be caused by invalid sys.path setting,
or by an incompatible Python version (powerline requires
Python 2.6, 2.7 or 3.2 and later to work). Please consult
the troubleshooting section in the documentation for
possible solutions.
If powerline on your system is installed for python 3 only you
should set g:powerline_pycmd to "py3" to make it load correctly.
Unable to import powerline, is it installed?
Press ENTER or type command to continue
uj5u.com熱心網友回復:
你給vim安裝了powerline插件,根據下面的提示,powerline是依賴于python的,
你看看python是否安裝正確
uj5u.com熱心網友回復:
我也遇到了同樣的問題我的解決方案如下:
安裝
powerline
powerline-fonts
powerline-vim
新建~/.vimrc檔案
填入
let g:powerline_pycmd="py3"
set laststatus=2
set t_Co=256
syntax on
即可
你可以試試
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/47846.html
標籤:應用程序開發區
上一篇:求助:關于Boa服務器
