7

I'm a bit of a noob when it comes to Linux, only started using it recently.

However, I am trying to compile vim with python because I am using latex live preview and it needs a python compiled vim to work. I am following these steps here: https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source

At part 3 it says to find your config for your python version such as /usr/lib/python3.6/config I dont have that, I only have this: _sysconfigdata_m_linux_x86_64-linux-gnu.py

Am I supposed to make a config directory, or should it already be there?

  • 2
    Which version of Ubuntu? 16.04 onwards has Vim with Python support in the repositories, and for older versions, you have PPAs. There's no need to manually build it. – muru Nov 17 '17 at 2:32
  • --with-python3-config-dir, it tells you tight there in the link you posted xD – DarkWiiPlayer Nov 17 '17 at 7:06
3

Although not pretty sure, I guess you are on a x64 platform. The corresponding path is under /usr/lib64/pythonXX.

  • I found it via: find /usr -type d -name config – Neil McGill Jul 25 '18 at 17:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.