How to enable python3 in vim?

python, ubuntu, vim

Solution

You didn't tell us the platform you're on, but it basically boils down to:

- Installing the prerequisite packages needed for Python 3 and for compiling Vim

- Compile Vim with the `configure --enable-python3interp` option

Problem

I've been using vim for some time, and now in a need to use the python3 feature. If I type `vim --version | grep python` I get `-python3` How can I do to enable it?

Original source