user3476184
user3476184

Reputation: 151

Python support missing

I installed vim from source according to this link and it was succesful. But there is no python- support. I have installed python-dev and I've looked for the directory the Python config-file is in to set the right flag:

--with-python-config-dir=/usr/lib/python2.7-config
--enable-pythoninterp

I've installed vim from source two times, because the first time I forgot sth. How can I get python-support now?

Upvotes: 0

Views: 819

Answers (1)

nodakai
nodakai

Reputation: 8033

The installation guide you showed also states

You may need to add --with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu/ to the configure call.

Have you tried this?

FYI, this is the contents of the directory on my Debian jessie (aka testing) x86_64.

$ ls /usr/lib/python2.7/config-x86_64-linux-gnu
Makefile  Setup  Setup.config  Setup.local  config.c  config.c.in
install-sh*  libpython2.7-pic.a  libpython2.7.a  libpython2.7.so@  makesetup*  python.o

Upvotes: 1

Related Questions