Compiling vim with specific version of Python

前端 未结 5 1175
感动是毒
感动是毒 2021-01-31 03:58

I\'m working on several Python projects who run on various versions of Python. I\'m hoping to set up my vim environment to use ropevim, pyflakes, and pylint but I\'ve run into s

5条回答
  •  独厮守ぢ
    2021-01-31 04:51

    For what it's worth, and no one seems to have answered this here, I had some luck using a command line like the following:

    vi_cv_path_python=/usr/bin/python26 ./configure --includedir=/usr/include/python2.6/  --prefix=/home/bcrowder/local --with-features=huge --enable-rubyinterp --enable-pythoninterp --disable-selinux --with-python-config-dir=/usr/lib64/python2.6/config
    

提交回复
热议问题