4,460
edits
iwu |
No edit summary |
||
Line 4: | Line 4: | ||
When running <code>vim</code> with Powerline package on Ubuntu 16.04, I get this error message every time I execute it from the CLI. | When running <code>vim</code> with Powerline package on Ubuntu 16.04, I get this error message every time I execute it from the CLI. | ||
<source lang="bash | <source lang="bash"> | ||
$ vim | |||
UltiSnips requires py >= 2.7 or py3 | UltiSnips requires py >= 2.7 or py3 | ||
You need vim compiled with Python 2.6, 2.7 or 3.2 and later support | You need vim compiled with Python 2.6, 2.7 or 3.2 and later support | ||
Line 15: | Line 15: | ||
I'm not sure what this does, but this seems to solve the problem. Thanks to Sergey Khaylov for the answer at [http://stackoverflow.com/questions/20160902/how-to-solve-requires-python-2-x-support-in-linux-vim-and-it-have-python-2-6-6 Stackoverflow]. | I'm not sure what this does, but this seems to solve the problem. Thanks to Sergey Khaylov for the answer at [http://stackoverflow.com/questions/20160902/how-to-solve-requires-python-2-x-support-in-linux-vim-and-it-have-python-2-6-6 Stackoverflow]. | ||
<source lang="bash | <source lang="bash"> | ||
$ apt-get install vim-nox | $ apt-get install vim-nox | ||
</source> | </source> |