UltiSnips requires py >= 2.6 or any py3

Asked by thomas

I'm trying to install UltiSnips in different way but the same message appears each time when I launch vim. Python 2.7 is installed but it seems that vim has been installed before the 2.7 version.

I tryed to reinstall vim using this link:

$ sudo apt-get install mercurial libssl-dev
$ sudo apt-get build-dep vim
$ hg clone http://hg.debian.org/hg/pkg-vim/vim
$ cd vim
$ hg checkout unstable
$ debian/rules update-orig
$ dpkg-buildpackage -i -I
$ cd ..

But the same problem remains. Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
UltiSnips Edit question
Assignee:
No assignee Edit question
Solved by:
thomas
Solved:
Last query:
Last reply:
Revision history for this message
SirVer (sirver) said :
#1

what does:

:py import sys; print sys.version

say?

Revision history for this message
thomas (mrtom31) said :
#2

Vim is not compiled with python because :py is not recognize and :version does not return any -lpython.
I add to configure with python2.7:
./configure --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config