I'm on Arch, and recently the vim-python3 and gvim-python3 packages were removed, so I'm working on building vim from source such that the :python command will act as python3. Specifically, I'm doing this so that the vim-jedi package will work properly. I tried changing the --enable-pythoninterp=dynamicflag in my PKGBUILD to--disable-pythoninterpbut when I did vim --version after building and installing, it still showed+python/dynAlso, doing:python import sys;print(sys.version)showed python 2 still. What do I need to change to have only python 3?
How can I build vim with just python 3 support?
linux;installing;vimscript python;linux arch
Thanks to x33a on the Arch forums, I was able to solve my problem. (https://bbs.archlinux.org/viewtopic.php?pid=1596987#p1596987)I changed the python 3 flag from--enable-python3interp=dyanmicto--enable-python3interpThis resulted in only python 3 being available.