Compile VIM on MacOS with Python3 Dynamic Support
Published:
Move to the home directory
cdGet VIM source from github
git clone https://github.com/vim/vim.gitEnter the source directory
cd vimSet the Python configuration e.g.
python3-config --configdirAdd configuration
./configure --with-features=huge \ --enable-python3interp=dynamic \ --with-python3-command=python3.9 \ --with-python3-config-dir=$(python3-config --configdir) \ --prefix=/usr/localMake
cd src make distclean # if you build Vim before make sudo make installConfigure .vimrc to point to the python interpreter you wish to use
" on OSX set pyxversion=3 set pythonthreedll=/Library/Frameworks/Python.framework/Versions/3.6/Python

