0
我今天上午從GitHub的 http://www.vim.org/download.phpVIM只有python3
安裝vim8.0版本推出vim和嘗試:echo has("python3")
返回0
(同爲蟒蛇)
安裝它,然後鍵入vim --version | grep python
我後,當得到:
+cryptv +linebreak +python/dyn +vreplace
+cscope +lispindent +python3/dyn +wildignore
看起來可能有問題,如果有+python
和+python3
,但它的情況下/dyn
? 在此之後我嘗試了很多事情只有唯一python3
./configure --with-features=huge
--enable-multibyte \
--enable-rubyinterp=yes \
--enable-python3interp=yes \
--with-python3-config-dir=/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu \
--enable-perlinterp=yes \
--enable-gui=gtk2 --enable-cscope --prefix=/usr \
--disable-pythoninterp \
(和許多其他命令...),但我不能設法得到迴音了(「python3」)返回1
還試圖刪除VIM 8.0,沒有辦法刪除...
也許http://stackoverflow.com/questions/30444890/vim-use-python3-interpreter-in-python-mode/30449124#30449124是相關的 – sideshowbarker